From d5e4f6d62943640cdf4b89288546d3f779f43f7f Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Thu, 06 Jan 2022 11:44:42 +0800
Subject: [PATCH] 路线导航
---
vue.config.js | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/vue.config.js b/vue.config.js
index 0dec07f..2c06e61 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,
@@ -42,12 +43,13 @@
//target: 'http://localhost:82/',
// target: 'http://223.82.109.183:2082/api/',
// target: 'http://192.168.0.107:85/',//唐
- //target: 'http://localhost:83/',
- //target: 'http://223.82.109.183:2082/api/',
target: 'http://localhost:83/',
+ //target: 'http://223.82.109.183:2082/api/',
+ //target: 'http://localhost:83/',
//target: 'https://web.byisf.com/api/',
//远程演示服务地址,可用于直接启动项目
//target: 'https://saber.bladex.vip/api',
+
ws: true,
pathRewrite: {
'^/api': '/'
--
Gitblit v1.9.3