From 08cbed2483a1cafd4ff193a8e75266363c75b168 Mon Sep 17 00:00:00 2001 From: sin <2943460818@qq.com> Date: Sun, 10 Mar 2019 15:02:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20config=20publicPath=20?= =?UTF-8?q?=EF=BC=8CNGINX=20=E8=BD=AC=E5=8F=91=EF=BC=8C=E8=BF=98=E6=9C=89?= =?UTF-8?q?=E5=B1=82=20admin-web=20=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin-web/config/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin-web/config/config.js b/admin-web/config/config.js index 633578c2..d3e5291c 100644 --- a/admin-web/config/config.js +++ b/admin-web/config/config.js @@ -62,8 +62,8 @@ export default { // add for transfer to umi // base: '/adsf', // runtimePublicPath: true, - base: '/admin-web', - publicPath: './admin-web/', + base: '/admin-web/', + publicPath: '/admin-web/', plugins, define: { APP_TYPE: APP_TYPE || '',