1
0
forked from baron/baron-sso

adminfront 정적 서빙 경로 수정 & devfront 빌드 오류 수정

This commit is contained in:
2026-05-29 15:15:09 +09:00
parent bb87034898
commit 420f2429c3
4 changed files with 27 additions and 21 deletions

View File

@@ -120,6 +120,7 @@ ensure_frontend_dependencies
if [ "$mode" = "production" ]; then
echo "Running in production mode with custom static server..."
export ADMINFRONT_BUILD_OUT_DIR="${ADMINFRONT_BUILD_OUT_DIR:-/tmp/baron-sso-adminfront-dist}"
exec sh -c "npm run build && node ./scripts/serve-prod.mjs"
fi