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

This commit is contained in:
2025-11-25 15:46:43 +00:00
parent 1b876d2d6c
commit e6769bb1d5

View File

@@ -64,7 +64,7 @@ public class SecurityConfig {
config.setAllowedOrigins(Arrays.asList( config.setAllowedOrigins(Arrays.asList(
"http://localhost:4200", "http://localhost:4200",
"http://127.0.0.1:4200", "http://127.0.0.1:4200",
"https://dev.unifihomenetwork.com" "https://dev.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"));