add protocol to the generated node configuration command
This commit is contained in:
parent
f70b33d69c
commit
67bb8fe230
|
@ -509,7 +509,7 @@ $(document).ready(function () {
|
||||||
title: 'Token created.',
|
title: 'Token created.',
|
||||||
text: 'Here is your token: <code>'+data.token+'</code><br />' +
|
text: 'Here is your token: <code>'+data.token+'</code><br />' +
|
||||||
'It will expire at <i>' + data.expires_at + '</i><br /><br />' +
|
'It will expire at <i>' + data.expires_at + '</i><br /><br />' +
|
||||||
'<p>To auto-configure your node run<br /><small><code>npm run configure -- --panel-url {{ config('app.url') }} --token '+data.token+'</code></small></p>',
|
'<p>To auto-configure your node run<br /><small><code>npm run configure -- --panel-url '+window.location.protocol+'//{{ config('app.url') }} --token '+data.token+'</code></small></p>',
|
||||||
html: true
|
html: true
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue