17 lines
357 B
JavaScript
17 lines
357 B
JavaScript
import path from "path";
|
|
|
|
|
|
export const staticPath = path.join("./static");
|
|
export const port = 17705;
|
|
|
|
export const api = {
|
|
get: `/${'get'}`,
|
|
query: `/${'query'}`,
|
|
upload: `/${'upload'}/*`,
|
|
delete: `/${'delete'}/*`,
|
|
rename: `/${'rename'}/*`,
|
|
mkdir: `/${'mkdir'}/*`,
|
|
cut: `/${'cut'}/*`
|
|
}
|
|
|
|
export default { staticPath, port, api } |