This commit is contained in:
神仙都没用 2023-09-28 17:12:18 +08:00
parent e4f835e730
commit 42fbb0ea37

View File

@ -1,7 +1,6 @@
export const proxy = { export const proxy = {
"/dev/": { "/dev/": {
// target: "http://127.0.0.1:8001", target: "http://127.0.0.1:8001",
target: "https://admin-dev.cool-js.cloud",
changeOrigin: true, changeOrigin: true,
rewrite: (path: string) => path.replace(/^\/dev/, "") rewrite: (path: string) => path.replace(/^\/dev/, "")
}, },