From 7bd1fbb14c9b6d0165fedead6b8343f5d964d3d7 Mon Sep 17 00:00:00 2001 From: Emmet Young Date: Mon, 23 Jan 2017 11:02:10 +1100 Subject: [PATCH] Fix up the configuration token, app.url should already have the protocol included with it. Appending a new one messes it up --- resources/views/admin/nodes/view.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/admin/nodes/view.blade.php b/resources/views/admin/nodes/view.blade.php index 298f666e8..ef5c1b57a 100644 --- a/resources/views/admin/nodes/view.blade.php +++ b/resources/views/admin/nodes/view.blade.php @@ -505,7 +505,7 @@ $(document).ready(function () { type: 'success', title: 'Token created.', text: 'Your token will expire at ' + data.expires_at + '

' + - '

To auto-configure your node run

npm run configure -- --panel-url '+window.location.protocol+'//{{ config('app.url') }} --token '+data.token+'

', + '

To auto-configure your node run

npm run configure -- --panel-url {{ config('app.url') }} --token '+data.token+'

', html: true }) })