Optimize E2E responsive design test performance and isolate test inquiries Telegram channel
TaxBaik CI/CD / build-and-deploy (push) Successful in 2m34s
TaxBaik CI/CD / build-and-deploy (push) Successful in 2m34s
This commit is contained in:
@@ -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 프레임워크 파일 포함)
|
||||
|
||||
Reference in New Issue
Block a user