From 3cb691cbb84cb2f5b270890da318418c36e398e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=95=88=EC=A0=95=ED=9B=84?= Date: Mon, 25 Nov 2024 23:03:00 +0900 Subject: [PATCH] fix: cors domain --- .../main/java/com/codingland/security/config/CorsConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/src/main/java/com/codingland/security/config/CorsConfig.java b/security/src/main/java/com/codingland/security/config/CorsConfig.java index 68e0149..0c17a96 100644 --- a/security/src/main/java/com/codingland/security/config/CorsConfig.java +++ b/security/src/main/java/com/codingland/security/config/CorsConfig.java @@ -25,7 +25,7 @@ public static CorsConfigurationSource apiConfigurationSource() { allowedOriginPatterns.add("http://localhost:3000"); allowedOriginPatterns.add("https://localhost:3000"); - allowedOriginPatterns.add("https://codingland.link"); + allowedOriginPatterns.add("https://codinglandapp.link"); configuration.setAllowedOrigins(allowedOriginPatterns); configuration.setAllowedMethods(List.of("HEAD", "POST", "GET", "DELETE", "PUT", "OPTIONS", "PATCH"));