Skip to content

Commit

Permalink
Update CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegRyazancev committed Mar 5, 2024
1 parent 06e2307 commit 1547d84
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public SecurityFilterChain filterChain(
CorsConfiguration config = new CorsConfiguration();
config.setAllowedOrigins(
List.of("http://localhost:3000",
"https://parkmeclient-production.up.railway.app/"));
"https://parkmeclient-production.up.railway.app"));
config.setAllowedMethods(
List.of("GET",
"POST",
Expand Down

0 comments on commit 1547d84

Please sign in to comment.