调整端口,调整测试后端路径
This commit is contained in:
parent
122392cd45
commit
be61bbe153
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
||||
/.idea/
|
||||
*/.DS_Store
|
||||
/dist/
|
||||
.vscode
|
||||
@ -1,5 +1,5 @@
|
||||
// const ip: string = "119.29.194.155:8893";
|
||||
const ip: string = "yufangzc.com";
|
||||
const ip: string = "127.0.0.1:8897";
|
||||
// const ip: string = "yufangzc.com";
|
||||
const fwqip: string = "yufangzc.com";
|
||||
//打包服务器接口代理标识
|
||||
const SERVERAGENT: string = "/jzd-api";
|
||||
@ -11,7 +11,7 @@ export const BASE_URL: string =
|
||||
// WebSocket地址
|
||||
export const BASE_WS_URL: string = `wss://${ip}`;
|
||||
//图片地址
|
||||
export const BASE_IMAGE_URL: string = process.env.NODE_ENV == "development" ? `http://${ip}` : `http://${fwqip}`;
|
||||
export const BASE_IMAGE_URL: string = process.env.NODE_ENV == "development" ? `https://${ip}` : `http://${fwqip}`;
|
||||
//存token的key
|
||||
export const AUTH_KEY: string = "satoken";
|
||||
//token过期返回状态码
|
||||
|
||||
@ -15,6 +15,7 @@ export default defineConfig({
|
||||
rewrite: (path) => path.replace(/^\/base/, ""),
|
||||
},
|
||||
},
|
||||
port: 5139,
|
||||
},
|
||||
plugins: [
|
||||
//c 为class 例如 class="wi-10"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user