forked from Kieran/void.cat
Remove hardcoded url
This commit is contained in:
parent
ee8b915797
commit
d5f102ee14
@ -83,7 +83,7 @@ export function FileUpload(props) {
|
||||
highWaterMark: 1024 * 1024
|
||||
});
|
||||
|
||||
let req = await fetch("https://localhost:7195/upload", {
|
||||
let req = await fetch("/upload", {
|
||||
method: "POST",
|
||||
mode: "cors",
|
||||
body: rs,
|
||||
|
Loading…
Reference in New Issue
Block a user