From 0db8c9b94a9ac655549d5eba5c2a6c92ac386c06 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期四, 08 十月 2026 11:20:56 +0800
Subject: [PATCH] 提交最新代码
---
culture/vue.config.js | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/culture/vue.config.js b/culture/vue.config.js
index 8df9880..26abac1 100644
--- a/culture/vue.config.js
+++ b/culture/vue.config.js
@@ -12,7 +12,7 @@
"/api": {
// 设置以什么前缀开头的请求用来代理
// target: "http://221.182.45.100:8081", //要访问的跨域的域名
- target: "http://192.168.110.64:8082",
+ target: "http://localhost:8082",
secure: false, // 使用的是http协议则设置为false,https协议则设置为true
changeOrigin: true, //开启代理
pathRewrite: {
@@ -22,13 +22,23 @@
"/": {
// 设置以什么前缀开头的请求用来代理
// target: "http://221.182.45.100:8081", //要访问的跨域的域名
- target: "http://192.168.110.64:8082",
+ target: "http://localhost:8082",
secure: false, // 使用的是http协议则设置为false,https协议则设置为true
changeOrigin: true, //开启代理
pathRewrite: {
"^/": "/",
},
},
+ "/open": {
+ // 设置以什么前缀开头的请求用来代理
+ // target: "http://221.182.45.100:8081", //要访问的跨域的域名
+ target: "http://localhost:8082",
+ secure: false, // 使用的是http协议则设置为false,https协议则设置为true
+ changeOrigin: true, //开启代理
+ pathRewrite: {
+ "^/open": "/",
+ },
+ },
},
},
configureWebpack: {
--
Gitblit v1.7.1