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:
parent
0fa858727e
commit
1599c6827d
@ -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 }}'
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user