Fix linking to socket

This commit is contained in:
Dane Everitt 2016-01-05 16:23:50 -05:00
parent 0fa858727e
commit 1599c6827d

View file

@ -38,7 +38,7 @@
$(window).load(function () {
// Main Socket Object
socket = io('http{{ ($node->https === true) ? 's' : '' }}://{{ $node->fqdn }}:{{ $node->daemonListen }}/ws/{{ $server->uuid }}', {
socket = io('{{ $node->scheme }}://{{ $node->fqdn }}:{{ $node->daemonListen }}/ws/{{ $server->uuid }}', {
'query': 'token={{ $server->daemonSecret }}'
});