From 9f6346a373dba25c4570f8e7dcb8f79f11ac964e Mon Sep 17 00:00:00 2001 From: Andrei Marcu Date: Thu, 12 Mar 2020 01:20:56 -0700 Subject: [PATCH] Basic auth: fix for using different paths --- static/js/upload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/upload.js b/static/js/upload.js index 7ad8da6..c39edc7 100644 --- a/static/js/upload.js +++ b/static/js/upload.js @@ -20,7 +20,7 @@ Dropzone.options.dropzone = { dropzone.cancelUpload(file) } }; - xhr.open("HEAD", "/auth", true); + xhr.open("HEAD", "auth", true); xhr.send() } var upload = document.createElement("div");