Fixed backend URL | Some features
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user