Updated entry to accept Access Control Allow Origin from https://dev.psg.net.au explicitly.
Removed line entry for old legacy IP address.
This commit is contained in:
@@ -138,7 +138,7 @@ public class BasicConfiguration implements WebMvcConfigurer {
|
||||
@Bean
|
||||
public CorsConfigurationSource corsConfigurationSource() {
|
||||
CorsConfiguration configuration = new CorsConfiguration();
|
||||
configuration.setAllowedOrigins(List.of("http://localhost:3000","https://localhost:3000", "https://sys.psg.net.au", "http://172.16.10.180:3000", "https://dev.psg.net.au:3000"));
|
||||
configuration.setAllowedOrigins(List.of("http://localhost:3000","https://localhost:3000", "https://sys.psg.net.au", "https:dev.psg.net.au//", "https://dev.psg.net.au:3000"));
|
||||
configuration.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "OPTIONS"));
|
||||
configuration.setAllowedHeaders(List.of("*"));
|
||||
configuration.setAllowCredentials(true);
|
||||
|
||||
Reference in New Issue
Block a user