We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f70b33d commit 67bb8feCopy full SHA for 67bb8fe
resources/views/admin/nodes/view.blade.php
@@ -509,7 +509,7 @@
509
title: 'Token created.',
510
text: 'Here is your token: <code>'+data.token+'</code><br />' +
511
'It will expire at <i>' + data.expires_at + '</i><br /><br />' +
512
- '<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>',
513
html: true
514
})
515
0 commit comments