merge from dev #1
@@ -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"));
|
||||||
|
|||||||
Reference in New Issue
Block a user