初始化
This commit is contained in:
@@ -12,7 +12,7 @@ export const proxy = {
|
|||||||
// 生产环境配置
|
// 生产环境配置
|
||||||
prod: {
|
prod: {
|
||||||
// 官方测试地址
|
// 官方测试地址
|
||||||
target: "https://show.cool-admin.com",
|
target: "http://127.0.0.1:8001",
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
rewrite: (path: string) => path.replace("/prod", "/api")
|
rewrite: (path: string) => path.replace("/prod", "/api")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user