Skip to content

Commit 67bb8fe

Browse files
committed
add protocol to the generated node configuration command
1 parent f70b33d commit 67bb8fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/admin/nodes/view.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@
509509
title: 'Token created.',
510510
text: 'Here is your token: <code>'+data.token+'</code><br />' +
511511
'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>',
512+
'<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>',
513513
html: true
514514
})
515515
})

0 commit comments

Comments
 (0)