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

@@ -59,7 +59,7 @@ export default function EditRestaurantMenu(props) {
action: "add",
};
axios({
url: backend + "/restaurant/category",
url: backend + "restaurant/category",
method: "POST",
data: data,
headers: {
@@ -86,7 +86,7 @@ export default function EditRestaurantMenu(props) {
action: "delete",
};
axios({
url: "http://localhost:4000/restaurant/category",
url: backend + "restaurant/category",
method: "POST",
data: data,
headers: {