mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 14:10:27 +08:00
优化
This commit is contained in:
parent
e4f835e730
commit
42fbb0ea37
@ -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/, "")
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user