Skip to content

Commit 7bd1fbb

Browse files
committed
Fix up the configuration token, app.url should already have the protocol included with it. Appending a new one messes it up
1 parent a2b56e8 commit 7bd1fbb

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
@@ -505,7 +505,7 @@
505505
type: 'success',
506506
title: 'Token created.',
507507
text: 'Your token will expire at ' + data.expires_at + '<br /><br />' +
508-
'<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>',
508+
'<p>To auto-configure your node run<br /><small><pre>npm run configure -- --panel-url {{ config('app.url') }} --token '+data.token+'</pre></small></p>',
509509
html: true
510510
})
511511
})

0 commit comments

Comments
 (0)