File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
java/com/ase/angelos_kb_backend/configuration Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -88,8 +88,8 @@ public PasswordEncoder passwordEncoder() {
88
88
@ Bean
89
89
public CorsConfigurationSource corsConfigurationSource () {
90
90
CorsConfiguration configuration = new CorsConfiguration ();
91
- configuration .addAllowedOriginPattern ( "*" );
92
- // configuration.addAllowedOrigin(kbOrigin);
91
+ configuration .addAllowedOrigin ( chatbotOrigin );
92
+ configuration .addAllowedOrigin (kbOrigin );
93
93
configuration .setAllowCredentials (true );
94
94
configuration .addAllowedMethod ("*" );
95
95
configuration .addAllowedHeader ("*" );
Original file line number Diff line number Diff line change 1
1
spring.datasource.url =jdbc:postgresql://db:5432/kbdatabase
2
2
springdoc.swagger-ui.enabled =false
3
+ logging.level.org.springframework.security =DEBUG
You can’t perform that action at this time.
0 commit comments