mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-05 07:55:23 -04:00
Update ReceiveMode to no longer rely on slugs
This commit is contained in:
parent
3ab99dbf3b
commit
403125f844
3 changed files with 7 additions and 27 deletions
|
@ -121,7 +121,7 @@ $(function(){
|
|||
$('#uploads').append($upload_div);
|
||||
|
||||
// Send the request
|
||||
ajax.open('POST', window.location.pathname.replace(/\/$/, '') + '/upload-ajax', true);
|
||||
ajax.open('POST', '/upload-ajax', true);
|
||||
ajax.send(formData);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue