From af029bdfb645bd2b75fbab687c1a5f45b428d801 Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Thu, 11 Aug 2022 18:53:48 +0800
Subject: [PATCH] 优化上传逻辑,月台添加mini播放弹窗

---
 vue.config.js |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/vue.config.js b/vue.config.js
index 04b875d..f8025fd 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -37,4 +37,17 @@
 			},
 		},
 	},
+	devServer: {
+		port: 8080,
+		proxy: {
+			'/api': {
+				target: process.env.VUE_APP_API_BASE_URL,
+				ws: false,
+				changeOrigin: true,
+				pathRewrite: {
+					'^/api': '' // 需要rewrite的,
+				}
+			}
+		}
+	},
 };

--
Gitblit v1.9.1