更新模板
This commit is contained in:
@@ -6,7 +6,7 @@ import { prod } from "./prod";
|
||||
export const isDev = process.env.NODE_ENV == "development";
|
||||
|
||||
// 忽略 token 校验的接口路径
|
||||
export const ignoreTokens: string[] = [];
|
||||
export const ignoreTokens: string[] = ["/auth/", "/app/base/comm/param"];
|
||||
|
||||
// 微信配置
|
||||
type WxConfig = {
|
||||
|
||||
@@ -2,9 +2,9 @@ export const proxy = {
|
||||
// 开发环境配置
|
||||
dev: {
|
||||
// 官方测试地址
|
||||
target: "http://localhost:8001",
|
||||
// target: "http://198.18.0.1:8001",
|
||||
// 本地地址
|
||||
// target: "http://127.0.0.1:8001",
|
||||
target: "http://127.0.0.1:8001",
|
||||
changeOrigin: true,
|
||||
rewrite: (path: string) => path.replace("/dev", "")
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user