From 91503135155318036236086c02c6f78beec3de02 Mon Sep 17 00:00:00 2001 From: Raod <1130305001@qq.com> Date: Sat, 31 Jul 2021 14:00:46 +0800 Subject: [PATCH] build.sh --- build.sh | 3 ++- report-core/src/main/resources/bootstrap.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index f05c8c4d..64244d19 100644 --- a/build.sh +++ b/build.sh @@ -13,7 +13,8 @@ npm install >/dev/null 2>&1 npm run build:prod >/dev/null 2>&1 echo "publish web to springboot src/main/resources/static" -mv $BuildDir/report-ui/dist $BuildDir/report-core/src/main/resources/static +mkdir -p $BuildDir/report-core/src/main/resources/static +mv $BuildDir/report-ui/dist/* $BuildDir/report-core/src/main/resources/static/ echo "build springboot" diff --git a/report-core/src/main/resources/bootstrap.yml b/report-core/src/main/resources/bootstrap.yml index 363a01ac..fa5efe7b 100644 --- a/report-core/src/main/resources/bootstrap.yml +++ b/report-core/src/main/resources/bootstrap.yml @@ -59,7 +59,7 @@ customer: downloadPath: http://10.108.26.197:9095/file/download # 跳过token验证和权限验证的url清单 - skip-authenticate-urls: /gaeaDict/all, /login, /static, /file/download/, /index.html + skip-authenticate-urls: /gaeaDict/all, /login, /static, /file/download/, /index.html, /favicon.ico user: ##新增用户默认密码 default: