API Gateway 중복 CORS 헤더 제거 설정 추가

This commit is contained in:
hiondal 2025-09-10 23:33:40 +09:00
parent 99bef2c853
commit f18d821d7d
2 changed files with 2 additions and 3 deletions

View File

@ -58,7 +58,7 @@ public class GatewayConfig {
return builder.routes()
// Auth Service 라우팅 (인증 불필요)
.route("user-service-login", r -> r
.path("/api/v1/auth/login", "/api/v1/auth/refresh")
.path("/api/v1/auth/login", "/api/v1/auth/register", "/api/v1/auth/refresh")
.and()
.method("POST")
.uri(userServiceUrl))

View File

@ -3,7 +3,6 @@
<ExternalSystemSettings>
<option name="env">
<map>
<entry key="BILL_INQUIRY_URL" value="http://localhost:8082" />
<entry key="CORS_ALLOWED_ORIGINS" value="http://localhost:3000" />
<entry key="DB_HOST" value="20.249.70.6" />
<entry key="DB_KIND" value="postgresql" />