Fixed typo on https://dev.psg.net.au within BasicConfiguration.java

This commit is contained in:
2025-09-22 01:54:17 +00:00
parent 046985259c
commit 26c9ae8f01

View File

@@ -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", "https:dev.psg.net.au//", "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);