Remove hardcoded url (again)

This commit is contained in:
Kieran 2022-09-11 21:19:49 +01:00
parent 78ced7f4f3
commit 2b5fbf3ce3
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -97,7 +97,7 @@ export function FileUpload(props) {
headers["V-EncryptionParams"] = JSON.stringify(enc.getParams()); headers["V-EncryptionParams"] = JSON.stringify(enc.getParams());
} }
let req = await fetch("https://localhost:7195/upload", { let req = await fetch("/upload", {
method: "POST", method: "POST",
mode: "cors", mode: "cors",
body: rs, body: rs,