fix: Development 환경에서 UseHttpsRedirection 비활성화 (#24)
All checks were successful
SPMS_API/pipeline/head This commit looks good
All checks were successful
SPMS_API/pipeline/head This commit looks good
This commit is contained in:
parent
65b4207f94
commit
3125726e2c
|
|
@ -73,7 +73,11 @@ else
|
|||
Console.WriteLine("[Error] Web root folder not found!");
|
||||
}
|
||||
|
||||
app.UseHttpsRedirection();
|
||||
// ── 5. HTTPS 리다이렉션 (Nginx가 HTTPS 처리하므로 Production에서만) ──
|
||||
if (!app.Environment.IsDevelopment())
|
||||
{
|
||||
app.UseHttpsRedirection();
|
||||
}
|
||||
app.UseRouting();
|
||||
|
||||
// ── 10. JWT 인증 ──
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user