Basic auth: fix for using different paths
This commit is contained in:
parent
a4c0e0ac37
commit
9f6346a373
|
@ -20,7 +20,7 @@ Dropzone.options.dropzone = {
|
||||||
dropzone.cancelUpload(file)
|
dropzone.cancelUpload(file)
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
xhr.open("HEAD", "/auth", true);
|
xhr.open("HEAD", "auth", true);
|
||||||
xhr.send()
|
xhr.send()
|
||||||
}
|
}
|
||||||
var upload = document.createElement("div");
|
var upload = document.createElement("div");
|
||||||
|
|
Loading…
Reference in New Issue