Optimize E2E responsive design test performance and isolate test inquiries Telegram channel
TaxBaik CI/CD / build-and-deploy (push) Successful in 2m34s

This commit is contained in:
2026-07-05 13:47:27 +09:00
parent 13b35c5a2d
commit 9e08c6e12c
6 changed files with 139 additions and 193 deletions
+14
View File
@@ -367,6 +367,20 @@ catch (Exception ex)
}
app.UsePathBase("/taxbaik");
// 개발 및 테스트 환경에서 resource-collection.js 404로 인해 Blazor WASM이 크래시되는 현상 방지
app.Use(async (context, next) =>
{
var path = context.Request.Path.Value ?? string.Empty;
if (path.Contains("resource-collection") && path.EndsWith(".js"))
{
context.Response.ContentType = "application/javascript";
await context.Response.WriteAsync("export default [];");
return;
}
await next();
});
app.UseResponseCompression();
// 정적 파일 제공 (WASM 프레임워크 파일 포함)