添加delete, query的api, 修复上传中文名文件乱码的问题
This commit is contained in:
1 parent
737ee87bae
commit
64259e37f4
10 files changed
+323
-14
No files matched your search
@@ -4,7 +4,11 @@ import path from "path";
|
||||
export const staticPath = path.join("./static");
|
||||
export const port = 17705;
|
||||
|
||||
export const api_get = `/${"get"}`;
|
||||
export const api_upload = `/${"upload"}/*`;
|
||||
export const api = {
|
||||
get: `/${"get"}`,
|
||||
upload: `/${"upload"}/*`,
|
||||
delete: `/${"delete"}/*`,
|
||||
query: `/${"query"}`
|
||||
}
|
||||
|
||||
export default { staticPath, port, api_get, api_upload }
|
||||
export default { staticPath, port, api }
|
||||
Reference in new issue
Block a user