Fixes bug with websocket uploads; closes #48
This commit is contained in:
parent
0b523bf468
commit
b0a9be98f9
2 changed files with 2 additions and 2 deletions
|
@ -291,7 +291,7 @@
|
||||||
"installed": "{{ route('remote.install') }}"
|
"installed": "{{ route('remote.install') }}"
|
||||||
},
|
},
|
||||||
"uploads": {
|
"uploads": {
|
||||||
"maximumSize": 1000000
|
"maximumSize": 100000000
|
||||||
},
|
},
|
||||||
"keys": [
|
"keys": [
|
||||||
"{{ $node->daemonSecret }}"
|
"{{ $node->daemonSecret }}"
|
||||||
|
|
|
@ -75,7 +75,7 @@ $(window).load(function () {
|
||||||
var newFileContents;
|
var newFileContents;
|
||||||
|
|
||||||
@can('upload-files', $server)
|
@can('upload-files', $server)
|
||||||
var client = new BinaryClient('{{ $node->scheme === 'https' ? 'wss' : 'ws' }}://{{ $node->fqdn }}:{{ $node->daemonListen }}/upload/', {
|
var client = new BinaryClient('{{ $node->scheme === 'https' ? 'wss' : 'ws' }}://{{ $node->fqdn }}:{{ $node->daemonListen }}/upload/{{ $server->uuid }}', {
|
||||||
chunkSize: 40960
|
chunkSize: 40960
|
||||||
});
|
});
|
||||||
// Wait for connection to BinaryJS server
|
// Wait for connection to BinaryJS server
|
||||||
|
|
Loading…
Reference in a new issue