Remove hardcoded url

This commit is contained in:
Kieran 2022-09-09 13:35:34 +01:00
parent ee8b915797
commit d5f102ee14
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -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,