Skip to content

Commit 8b61f47

Browse files
Merge pull request #61 from Clover-21/develop
fix: ํ”„๋ก ํŠธ ์ถ”๊ฐ€ ๋ฐฐํฌ ์ฃผ์†Œ CORS ์„ค์ •์— ์ถ”๊ฐ€
2 parents 7c6c92e + 732bce7 commit 8b61f47

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

โ€Žsrc/main/java/clovar/howkiki/global/config/SecurityConfig.javaโ€Ž

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ public CorsConfigurationSource corsConfigurationSource() {
2626
"http://localhost:3000",
2727
"http://localhost:3001",
2828
"https://localhost:3001/",
29-
"https://howkiki.netlify.app")); // ํ”„๋ก ํŠธ ๋ฐฐํฌ ํ›„ ์ฃผ์†Œ ์ถ”๊ฐ€
29+
"https://howkiki.netlify.app",
30+
"https://silver-tiramisu-633e4a.netlify.app/",
31+
"https://app.netlify.com/sites/kikibot/overview")); // ํ”„๋ก ํŠธ ๋ฐฐํฌ ํ›„ ์ฃผ์†Œ ์ถ”๊ฐ€
3032

3133
configuration.setAllowedMethods(List.of("*"));
3234
configuration.setAllowedHeaders(List.of("*"));
@@ -50,4 +52,4 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
5052
);
5153
return http.build();
5254
}
53-
}
55+
}

0 commit comments

Comments
ย (0)