Skip to content

Commit

Permalink
deploy: cors μ„€μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
zzoe2346 committed Nov 15, 2024
1 parent 4afeb64 commit 52b8358
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public CorsFilter corsFilter() {
UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
CorsConfiguration config = new CorsConfiguration();
config.setAllowCredentials(true);
config.addAllowedOriginPattern("*");
config.addAllowedOriginPattern("https://www.sinitto.life");
config.addAllowedHeader("*");
config.addAllowedMethod("*");
config.addExposedHeader("Authorization");
Expand Down

0 comments on commit 52b8358

Please sign in to comment.