From 617c4073186c0307f58a86ff76eb04fb4f08dece Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期一, 03 四月 2023 18:39:11 +0800
Subject: [PATCH] 兼容设备
---
web_src/config/index.js | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/web_src/config/index.js b/web_src/config/index.js
index c5a7452..fc0aa1f 100644
--- a/web_src/config/index.js
+++ b/web_src/config/index.js
@@ -8,18 +8,18 @@
dev: {
// Paths
- assetsSubDirectory: 'static',
- assetsPublicPath: '/',
+ assetsSubDirectory: './static',
+ assetsPublicPath: './',
proxyTable: {
'/debug': {
- target: 'http://localhost:38080',
+ target: 'https://default.wvp-pro.cn:18080',
changeOrigin: true,
pathRewrite: {
'^/debug': '/'
}
},
'/static/snap': {
- target: 'http://localhost:38080',
+ target: 'https://default.wvp-pro.cn:18080',
changeOrigin: true,
// pathRewrite: {
// '^/static/snap': '/static/snap'
@@ -61,7 +61,7 @@
// Paths
assetsRoot: path.resolve(__dirname, '../../src/main/resources/static/'),
assetsSubDirectory: './static',
- assetsPublicPath: '/',
+ assetsPublicPath: './',
/**
* Source Maps
--
Gitblit v1.8.0