feat: add allowed origin for gameovergne in CORS configuration
This commit is contained in:
@@ -61,7 +61,7 @@ public class SecurityConfig {
|
||||
@Bean
|
||||
public CorsConfigurationSource corsConfigurationSource() {
|
||||
CorsConfiguration config = new CorsConfiguration();
|
||||
config.setAllowedOrigins(Arrays.asList("http://localhost:4200", "http://127.0.0.1:4200"));
|
||||
config.setAllowedOrigins(Arrays.asList("http://localhost:4200", "http://127.0.0.1:4200", "https://dev.unifihomenetwork.com/gameovergne"));
|
||||
config.setAllowedMethods(Arrays.asList("GET","POST","PUT","DELETE","OPTIONS"));
|
||||
config.setAllowedHeaders(Arrays.asList("Authorization","Content-Type","Accept"));
|
||||
config.setExposedHeaders(Arrays.asList("Authorization"));
|
||||
|
||||
Reference in New Issue
Block a user