Raod 4 жил өмнө
parent
commit
9150313515

+ 2 - 1
build.sh

@@ -13,7 +13,8 @@ npm install >/dev/null 2>&1
 npm run build:prod >/dev/null 2>&1
 npm run build:prod >/dev/null 2>&1
 
 
 echo "publish web to springboot src/main/resources/static"
 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"
 echo "build springboot"

+ 1 - 1
report-core/src/main/resources/bootstrap.yml

@@ -59,7 +59,7 @@ customer:
     downloadPath: http://10.108.26.197:9095/file/download
     downloadPath: http://10.108.26.197:9095/file/download
 
 
   # 跳过token验证和权限验证的url清单
   # 跳过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:
   user:
     ##新增用户默认密码
     ##新增用户默认密码
     default:
     default: