From 6484f52e4624f9c2dbd03443080adf6db6b800b4 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期二, 07 二月 2023 20:59:33 +0800 Subject: [PATCH] 同时支持打包为Jar和War --- web_src/config/index.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web_src/config/index.js b/web_src/config/index.js index c5a7452..6f0ca8b 100644 --- a/web_src/config/index.js +++ b/web_src/config/index.js @@ -8,8 +8,8 @@ dev: { // Paths - assetsSubDirectory: 'static', - assetsPublicPath: '/', + assetsSubDirectory: './static', + assetsPublicPath: './', proxyTable: { '/debug': { target: 'http://localhost:38080', @@ -61,7 +61,7 @@ // Paths assetsRoot: path.resolve(__dirname, '../../src/main/resources/static/'), assetsSubDirectory: './static', - assetsPublicPath: '/', + assetsPublicPath: './', /** * Source Maps -- Gitblit v1.8.0