From 63ad2c3598400370dd7da5534659fd7e768a0a4a Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Mon, 16 May 2022 17:29:46 +0800
Subject: [PATCH] 地址替换
---
vue.config.js | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/vue.config.js b/vue.config.js
index 6ab5d84..e842e9e 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -7,6 +7,7 @@
* @LastEditTime: 2021-01-29 15:58:39
*/
module.exports = {
+
//路径前缀
publicPath: "./",
lintOnSave: true,
@@ -36,10 +37,19 @@
proxy: {
'/api': {
//本地服务接口地址
- target: 'http://s16s652780.51mypc.cn/api/',
+ // target: 'http://s16s652780.51mypc.cn/api/',
+ // target: 'http://192.168.0.114:82/',
+ // target: 'http://192.168.0.108:83/',//曾
+ //target: 'http://localhost:82/',
+ // target: 'http://61.131.136.25:2082/api/',
+ // target: 'http://192.168.0.107:85/',//唐
+ // target: 'http://localhost:83/',
+ //target: 'http://61.131.136.25:2082/api/',
+ target: 'http://localhost:83/',
//target: 'https://web.byisf.com/api/',
//远程演示服务地址,可用于直接启动项目
- // target: 'https://saber.bladex.vip/api',
+ //target: 'https://saber.bladex.vip/api',
+
ws: true,
pathRewrite: {
'^/api': '/'
--
Gitblit v1.9.3