forked from Kieran/void.cat
Remove hardcoded url (again)
This commit is contained in:
parent
78ced7f4f3
commit
2b5fbf3ce3
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user