Fixes bug with websocket uploads; closes #48

This commit is contained in:
Dane Everitt 2016-01-26 22:42:24 -05:00
parent 0b523bf468
commit b0a9be98f9
2 changed files with 2 additions and 2 deletions

View file

@ -75,7 +75,7 @@ $(window).load(function () {
var newFileContents;
@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
});
// Wait for connection to BinaryJS server