From 12888c2aa587c2f7cca3ebe2edb428707046a7df Mon Sep 17 00:00:00 2001
From: zhuo <2089219845@qq.com>
Date: 星期三, 12 三月 2025 19:05:04 +0800
Subject: [PATCH] 修改配置类
---
vue.config.js | 2 +-
src/main.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main.js b/src/main.js
index 96827ef..adbeaf1 100644
--- a/src/main.js
+++ b/src/main.js
@@ -68,7 +68,7 @@
};
Vue.prototype.javaApi = process.env.VUE_APP_BASE_API
? process.env.VUE_APP_BASE_API
- : "http://192.168.1.36:8002";
+ : "http://localhost:8001";
Vue.prototype.checkPermi = checkPermi;
Vue.prototype.uploadHeader = {
Authorization: "Bearer " + getToken(),
diff --git a/vue.config.js b/vue.config.js
index 018c3bb..172f3c9 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -36,7 +36,7 @@
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
- target: `http://192.168.0.170:8002`,
+ target: `http://localhost:8001`,
changeOrigin: true,
pathRewrite: {
["^" + process.env.VUE_APP_BASE_API]: "",
--
Gitblit v1.9.3