Skip to content

Commit 1599c68

Browse files
committed
Fix linking to socket
1 parent 0fa8587 commit 1599c68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/layouts/master.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
$(window).load(function () {
3939
4040
// Main Socket Object
41-
socket = io('http{{ ($node->https === true) ? 's' : '' }}://{{ $node->fqdn }}:{{ $node->daemonListen }}/ws/{{ $server->uuid }}', {
41+
socket = io('{{ $node->scheme }}://{{ $node->fqdn }}:{{ $node->daemonListen }}/ws/{{ $server->uuid }}', {
4242
'query': 'token={{ $server->daemonSecret }}'
4343
});
4444

0 commit comments

Comments
 (0)