1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-22 09:02:28 +01:00

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 }}'
});