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