mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 13:14:45 +02:00
Fix up the configuration token, app.url should already have the protocol included with it. Appending a new one messes it up
This commit is contained in:
parent
a2b56e865e
commit
7bd1fbb14c
@ -505,7 +505,7 @@ $(document).ready(function () {
|
|||||||
type: 'success',
|
type: 'success',
|
||||||
title: 'Token created.',
|
title: 'Token created.',
|
||||||
text: 'Your token will expire at ' + data.expires_at + '<br /><br />' +
|
text: 'Your token will expire at ' + data.expires_at + '<br /><br />' +
|
||||||
'<p>To auto-configure your node run<br /><small><pre>npm run configure -- --panel-url '+window.location.protocol+'//{{ config('app.url') }} --token '+data.token+'</pre></small></p>',
|
'<p>To auto-configure your node run<br /><small><pre>npm run configure -- --panel-url {{ config('app.url') }} --token '+data.token+'</pre></small></p>',
|
||||||
html: true
|
html: true
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user