Changeset ecd0016
- Timestamp:
- 01/26/26 13:08:47 (6 months ago)
- Branches:
- main
- Children:
- 5c65932
- Parents:
- 335fee0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
finkwave/src/main/java/com/ukim/finki/develop/finkwave/config/SecurityConfig.java
r335fee0 recd0016 42 42 public CorsConfigurationSource corsConfigurationSource() { 43 43 CorsConfiguration configuration = new CorsConfiguration(); 44 45 configuration.setAllowedOrigins(List.of("*")); 46 configuration.setAllowedMethods(List.of("*")); 44 configuration.setAllowedOriginPatterns(List.of("http://localhost:*")); 45 configuration.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "OPTIONS")); 47 46 configuration.setAllowedHeaders(List.of("*")); 48 47 configuration.setAllowCredentials(true);
Note:
See TracChangeset
for help on using the changeset viewer.
