From b136c0a80500d929897a8e24f920efad47e2e307 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期三, 01 十一月 2023 19:03:01 +0800 Subject: [PATCH] 变更公海 的接口传参修改 --- vue.config.js | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/vue.config.js b/vue.config.js index 767e5e8..83bffdf 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,6 +1,6 @@ const path = require("path") // 鍩虹璺緞 娉ㄦ剰鍙戝竷涔嬪墠瑕佸厛淇敼杩欓噷 -const publicPath = "/" +const publicPath = process.env.VUE_APP_PUBLIC_PATH || "/" function resolve(dir) { return path.join(__dirname, dir) } @@ -15,6 +15,8 @@ proxy: { "/api": { target: "http://192.168.20.119:8002", // http://192.168.20.119:8002 http://fai365.com:30150/ + // 寤洪亾鏈湴鐜 + // target: "http://192.168.20.118:8002", ws: true, changeOrigin: true } -- Gitblit v1.8.0