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…
Reference in New Issue