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
1 changed files with 1 additions and 1 deletions
|
@ -505,7 +505,7 @@ $(document).ready(function () {
|
|||
type: 'success',
|
||||
title: 'Token created.',
|
||||
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
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue