Fixed backend URL | Some features

This commit is contained in:
2020-10-24 19:25:36 +02:00
parent f5f758dbdc
commit 8325759c2f
13 changed files with 95 additions and 36 deletions

View File

@@ -14,7 +14,7 @@ export default function ImageUpload(props) {
data.append("menuiImage", event.target.files[0]);
setLoading(true);
axios({
url: backend + "/img",
url: backend + "img",
method: "POST",
data: data,
headers: {

View File

@@ -14,7 +14,7 @@ export default function ImageUpload(props) {
data.append("menuiImage", event.target.files[0]);
setLoading(true);
axios({
url: backend + "/img",
url: backend + "img",
method: "POST",
data: data,
headers: {