mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 03:24:16 +00:00
fix route
This commit is contained in:
parent
869ede1f36
commit
c1e288e209
@ -13,8 +13,8 @@ export default (props) => {
|
|||||||
|
|
||||||
formData.append("files", req.file)
|
formData.append("files", req.file)
|
||||||
|
|
||||||
const response = await window.app.cores.api.customRequest( {
|
const response = await window.app.cores.api.customRequest({
|
||||||
url: "/upload",
|
url: "/files/upload",
|
||||||
method: "POST",
|
method: "POST",
|
||||||
data: formData
|
data: formData
|
||||||
}).catch((error) => {
|
}).catch((error) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user