From 169da067d43ed3cc1408d9c6f46c69d33e91a70d Mon Sep 17 00:00:00 2001 From: lzhe <lzhe@example.com> Date: 星期日, 29 九月 2024 17:42:18 +0800 Subject: [PATCH] 1 --- vue.config.js | 16 +++++----------- 1 files changed, 5 insertions(+), 11 deletions(-) diff --git a/vue.config.js b/vue.config.js index 095362b..cb2ce67 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,12 +1,13 @@ /* * @Date: 2024-03-23 09:49:06 - * @LastEditors: gaoshp - * @LastEditTime: 2024-03-23 18:21:49 - * @FilePath: /cps-web/vue.config.js + * @LastEditors: Sneed + * @LastEditTime: 2024-04-10 22:11:52 + * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/vue.config.js */ const { defineConfig } = require('@vue/cli-service') module.exports = defineConfig({ + lintOnSave: false, //璁剧疆涓虹┖鎵撳寘鍚庝笉鍒嗘洿鐩綍杩樻槸澶氱骇鐩綍 publicPath:'', //build缂栬瘧鍚庡瓨鏀鹃潤鎬佹枃浠剁殑鐩綍 @@ -25,16 +26,9 @@ target: process.env.VUE_APP_API_BASEURL, ws: true, pathRewrite: { - '^/api': '/' + // '^/api': '/' } }, - '/myapi': { - target: process.env.VUE_APP_API_MYBASEURL, - ws: true, - pathRewrite: { - '^/myapi': '/' - } - } } }, -- Gitblit v1.9.3