Skip to content

Commit b0a9be9

Browse files
committed
Fixes bug with websocket uploads; closes pterodactyl#48
1 parent 0b523bf commit b0a9be9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

resources/views/admin/nodes/view.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@
291291
"installed": "{{ route('remote.install') }}"
292292
},
293293
"uploads": {
294-
"maximumSize": 1000000
294+
"maximumSize": 100000000
295295
},
296296
"keys": [
297297
"{{ $node->daemonSecret }}"

resources/views/server/files/add.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
var newFileContents;
7676
7777
@can('upload-files', $server)
78-
var client = new BinaryClient('{{ $node->scheme === 'https' ? 'wss' : 'ws' }}://{{ $node->fqdn }}:{{ $node->daemonListen }}/upload/', {
78+
var client = new BinaryClient('{{ $node->scheme === 'https' ? 'wss' : 'ws' }}://{{ $node->fqdn }}:{{ $node->daemonListen }}/upload/{{ $server->uuid }}', {
7979
chunkSize: 40960
8080
});
8181
// Wait for connection to BinaryJS server

0 commit comments

Comments
 (0)