From f44f0d2453259c094e6711c9dd19beb711dcde50 Mon Sep 17 00:00:00 2001 From: yangzhi <765157588@qq.com> Date: Mon, 27 Mar 2023 14:06:08 +0800 Subject: [PATCH] vue.config.js配置修改 --- vue.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vue.config.js b/vue.config.js index b377e73..22088dc 100644 --- a/vue.config.js +++ b/vue.config.js @@ -38,8 +38,8 @@ module.exports = { }, proxy: { '/development': { - // target: `http://admin.7-stars.com.cn/`, //后台服务地址 - target:'https://localhost:44399/', + target: `http://admin.7-stars.com.cn`, //后台服务地址 + // target:'https://localhost:44399/', // target:'http://localhost:8009', changeOrigin: true, pathRewrite: { @@ -47,7 +47,7 @@ module.exports = { } }, '/api': { - target:'https://localhost:44399/', + target: 'https://localhost:44399/', // target: `http://admin.7-stars.com.cn/`, //后台服务地址 // target: 'http://localhost:8877', -- libgit2 0.21.4