Basic support for installation process
This commit is contained in:
parent
f609271c35
commit
3b11ba9fca
6 changed files with 76 additions and 11 deletions
|
@ -67,7 +67,7 @@ class WebsocketController extends ClientApiController
|
|||
'connect',
|
||||
'send-command',
|
||||
'send-power',
|
||||
], $request->user()->root_admin ? ['receive-errors'] : []))
|
||||
], $request->user()->root_admin ? ['receive-errors', 'receive-install'] : []))
|
||||
->getToken($signer, new Key($server->node->daemonSecret));
|
||||
|
||||
$socket = str_replace(['https://', 'http://'], ['wss://', 'ws://'], $server->node->getConnectionAddress());
|
||||
|
|
Reference in a new issue