Update ReceiveMode to no longer rely on slugs

This commit is contained in:
Micah Lee 2019-05-21 10:18:40 -07:00
parent 3ab99dbf3b
commit 403125f844
3 changed files with 7 additions and 27 deletions

View file

@ -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);
});
});