diff --git a/README.md b/README.md index 780e3de..3f79ed1 100644 --- a/README.md +++ b/README.md @@ -178,7 +178,10 @@ master 브랜치에 푸시하면 파이프라인이 다음 단계를 수행합 | --- | --- | --- | | Public smoke | `E2E_BASE_URL=https://www.taxbaik.com/taxbaik npm run test:e2e:public-smoke` | `$env:E2E_BASE_URL="https://www.taxbaik.com/taxbaik"; npm run test:e2e:public-smoke` | | Admin smoke | `E2E_BASE_URL=https://www.taxbaik.com/taxbaik npm run test:e2e:admin-smoke` | `$env:E2E_BASE_URL="https://www.taxbaik.com/taxbaik"; npm run test:e2e:admin-smoke` | -| Direct smoke script | `ROOT_URL="https://www.taxbaik.com/" ADMIN_URL="https://www.taxbaik.com/taxbaik/admin/login" bash ./scripts/taxbaik-smoke.sh` | `$env:ROOT_URL="https://www.taxbaik.com/"; $env:ADMIN_URL="https://www.taxbaik.com/taxbaik/admin/login"; bash ./scripts/taxbaik-smoke.sh` | + +직접 smoke 스크립트가 필요하면 이 한 줄만 쓰면 됩니다. + +`ROOT_URL="https://www.taxbaik.com/" ADMIN_URL="https://www.taxbaik.com/taxbaik/admin/login" bash ./scripts/taxbaik-smoke.sh` --- diff --git a/package.json b/package.json index 553c256..d3d9e55 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,6 @@ "scripts": { "test:e2e": "playwright test", "test:e2e:headed": "playwright test --headed", - "test:e2e:smoke": "playwright test --grep @smoke", "test:e2e:public-smoke": "playwright test --project=\"Public Smoke\" tests/e2e/public-smoke.spec.ts", "test:e2e:admin-smoke": "playwright test --project=\"Admin Smoke\" tests/e2e/admin-smoke.spec.ts" }, diff --git a/src/TaxBaik.Web/Program.cs b/src/TaxBaik.Web/Program.cs index b710050..fe3572e 100644 --- a/src/TaxBaik.Web/Program.cs +++ b/src/TaxBaik.Web/Program.cs @@ -398,6 +398,9 @@ app.MapStaticAssets(); app.MapGet("/", () => Results.Redirect("/taxbaik/")); // SPA 라우팅 폴백 (가장 마지막에!) +// Admin: MapRazorComponents 없이 순수 정적 WASM 제공 +// blazor.boot.json은 MapRazorComponents의 자동 생성 메커니즘이 아니라, +// 클라이언트에서 런타임이 생성하거나 또는 생략해도 됨 app.MapFallbackToFile("admin/{*path:nonfile}", "admin/index.html"); app.MapFallbackToFile("portal/{*path:nonfile}", "portal/index.html");