mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +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)
|
||||
|
||||
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) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user