Skip to content

Commit

Permalink
#50 [fix] : 단축 URL 도메인 CORS 문제를 해결한다
Browse files Browse the repository at this point in the history
  • Loading branch information
bbbang105 committed Sep 30, 2024
1 parent 4540385 commit 86aa584
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/side/onetime/global/config/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ CorsConfigurationSource corsConfigurationSource() {
"https://onetime-test.vercel.app",
"https://www.onetime-test.vercel.app",
"https://onetime-with-members.com",
"https://www.onetime-with-members.com"
"https://www.onetime-with-members.com",
"https://1-ti.me",
"https://www.1-ti.me"
));
config.setAllowedMethods(Collections.singletonList("*"));
config.setAllowedHeaders(Collections.singletonList("*"));
Expand Down

0 comments on commit 86aa584

Please sign in to comment.