summaryrefslogtreecommitdiff
path: root/share/static/js/receive.js
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2019-10-13 14:35:40 -0400
committerGitHub <noreply@github.com>2019-10-13 14:35:40 -0400
commit896659c6963c14c4e047cff7f3d421977060ed23 (patch)
tree660468dd7478fb001ced211a4a33ae28a1b5f9a4 /share/static/js/receive.js
parentbbf6c02da645fcd4fc50db18dd341178ad4fa2e6 (diff)
parent7d24bf9ffcd1e21e087431c21bfc658803a61ab6 (diff)
downloadonionshare-ef18b4b310216abf6f48bfe2a8bb52b70a782d76.tar.gz
onionshare-ef18b4b310216abf6f48bfe2a8bb52b70a782d76.zip
Merge pull request #1048 from micahflee/developv2.2
Version 2.2
Diffstat (limited to 'share/static/js/receive.js')
-rw-r--r--share/static/js/receive.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/static/js/receive.js b/share/static/js/receive.js
index c29c726c..cbd60954 100644
--- a/share/static/js/receive.js
+++ b/share/static/js/receive.js
@@ -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);
});
});