Skip to content

Commit

Permalink
Merge pull request #51 from onetime-with-members/fix/#50/shorten-url-…
Browse files Browse the repository at this point in the history
…cors

[fix] : 단축 URL 도메인 CORS 문제를 해결한다
  • Loading branch information
bbbang105 authored Sep 30, 2024
2 parents 4540385 + 86aa584 commit cb2e91f
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 cb2e91f

Please sign in to comment.