mirror of
https://github.com/cna-bootcamp/phonebill.git
synced 2025-12-06 08:06:24 +00:00
API Gateway 중복 CORS 헤더 제거 설정 추가
This commit is contained in:
parent
99bef2c853
commit
f18d821d7d
@ -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))
|
||||
|
||||
@ -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" />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user