fix route

This commit is contained in:
SrGooglo 2023-03-31 17:51:01 +00:00
parent 869ede1f36
commit c1e288e209

View File

@ -13,8 +13,8 @@ export default (props) => {
formData.append("files", req.file)
const response = await window.app.cores.api.customRequest( {
url: "/upload",
const response = await window.app.cores.api.customRequest({
url: "/files/upload",
method: "POST",
data: formData
}).catch((error) => {