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 = {
"/dev/": {
// target: "http://127.0.0.1:8001",
target: "https://admin-dev.cool-js.cloud",
target: "http://127.0.0.1:8001",
changeOrigin: true,
rewrite: (path: string) => path.replace(/^\/dev/, "")
},