From 33dcfb22bb4a779cb10e2f5bc482fc57c7f1153b Mon Sep 17 00:00:00 2001 From: 10 Date: Tue, 26 Nov 2024 08:32:42 +0900 Subject: [PATCH] =?UTF-8?q?:recycle:=20allow=20origin=20pattern=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD=20app-dev=EC=97=90=EC=84=9C=20app.dev?= =?UTF-8?q?=EB=A1=9C=20=EB=B3=80=EA=B2=BD=20(#273)=20(#274)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../team/ahachul_backend/common/config/InterceptorConfig.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/src/main/kotlin/backend/team/ahachul_backend/common/config/InterceptorConfig.kt b/application/src/main/kotlin/backend/team/ahachul_backend/common/config/InterceptorConfig.kt index cc4a17f3..c92c147c 100644 --- a/application/src/main/kotlin/backend/team/ahachul_backend/common/config/InterceptorConfig.kt +++ b/application/src/main/kotlin/backend/team/ahachul_backend/common/config/InterceptorConfig.kt @@ -20,7 +20,7 @@ class InterceptorConfig( override fun addCorsMappings(registry: CorsRegistry) { registry.addMapping("/**") // TODO 환경 분리 - .allowedOriginPatterns("https://app-dev.ahhachul.com", "https://dev.ahhachul.com", "http://localhost:3000", "http://localhost") + .allowedOriginPatterns("https://app.dev.ahhachul.com", "https://dev.ahhachul.com", "http://localhost:3000", "http://localhost") .allowedMethods("GET", "POST", "PUT", "PATCH", "OPTIONS", "DELETE") .allowedHeaders("*") .allowCredentials(true)