Skip to content

Commit

Permalink
fix: cors domain
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeongh00 committed Nov 25, 2024
1 parent 186ae14 commit 3cb691c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down

0 comments on commit 3cb691c

Please sign in to comment.