This commit is contained in:
@@ -302,14 +302,6 @@ catch (Exception ex)
|
||||
|
||||
app.UseResponseCompression();
|
||||
|
||||
// WASM 디버깅/Hot Reload는 명시적으로 켠 경우에만 주입한다.
|
||||
// 기본값을 꺼두면 테스트/개발 서비스에서 불필요한 _framework 핫리로드 번들 404를 막을 수 있다.
|
||||
var enableWebAssemblyDebugging = builder.Configuration.GetValue<bool>("EnableWebAssemblyDebugging");
|
||||
if (app.Environment.IsDevelopment() && enableWebAssemblyDebugging)
|
||||
{
|
||||
app.UseWebAssemblyDebugging();
|
||||
}
|
||||
|
||||
// 정적 파일 제공
|
||||
app.UseStaticFiles();
|
||||
app.UseStaticFiles("/portal");
|
||||
|
||||
Reference in New Issue
Block a user