main #27
|
@ -88,7 +88,8 @@ builder.Services.AddCors(option =>
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// 로컬 테스트 위한 부분
|
||||||
|
builder.WebHost.UseUrls("http://0.0.0.0:5144");
|
||||||
///// ===== builder 설정 부 ===== /////
|
///// ===== builder 설정 부 ===== /////
|
||||||
|
|
||||||
var app = builder.Build();
|
var app = builder.Build();
|
||||||
|
@ -106,8 +107,9 @@ else
|
||||||
app.UseHsts();
|
app.UseHsts();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 로컬 테스트 위한 부분
|
||||||
|
|
||||||
app.UseHttpsRedirection();
|
// app.UseHttpsRedirection();
|
||||||
app.UseRouting();
|
app.UseRouting();
|
||||||
// app.MapControllers();
|
// app.MapControllers();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user