Update api/src/main/java/fr/gameovergne/api/config/SecurityConfig.java

This commit is contained in:
2025-12-05 13:40:48 +00:00
parent 01cafd5904
commit ec9eb0dc7d

View File

@@ -64,7 +64,8 @@ public class SecurityConfig {
config.setAllowedOriginPatterns(Arrays.asList( config.setAllowedOriginPatterns(Arrays.asList(
"http://localhost:4200", "http://localhost:4200",
"http://127.0.0.1:4200", "http://127.0.0.1:4200",
"https://dev.vincent-guillet.fr" "https://dev.vincent-guillet.fr",
"https://projets.vincent-guillet.fr"
)); ));
config.setAllowedMethods(Arrays.asList("GET","POST","PUT","DELETE","OPTIONS")); config.setAllowedMethods(Arrays.asList("GET","POST","PUT","DELETE","OPTIONS"));
config.setAllowedHeaders(Arrays.asList("Authorization","Content-Type","Accept")); config.setAllowedHeaders(Arrays.asList("Authorization","Content-Type","Accept"));