File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed
src/main/java/com/ase/angelos_kb_backend/configuration Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 35
35
platforms : linux/amd64, linux/arm64
36
36
file : ./Dockerfile
37
37
context : .
38
- tags : ghcr.io/ls1intum/angelos-server:latest
38
+ tags : ghcr.io/ls1intum/angelos-server:new- latest
39
39
push : true
40
40
no-cache : true
41
41
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ services:
15
15
- angelos-network
16
16
17
17
angelos-server :
18
- image : ghcr.io/ls1intum/angelos-server:latest
18
+ image : ghcr.io/ls1intum/angelos-server:new- latest
19
19
container_name : angelos-server
20
20
depends_on :
21
21
- db
Original file line number Diff line number Diff line change @@ -54,5 +54,7 @@ public void createDefaultAdmin() {
54
54
admin .setOrganisation (systemOrg ); // Assign the "System Organisation"
55
55
userRepository .save (admin );
56
56
}
57
+
58
+ System .out .println ("System admin created." );
57
59
}
58
60
}
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 .addAllowedOrigin ( chatbotOrigin );
92
- configuration .addAllowedOrigin (kbOrigin );
91
+ configuration .addAllowedOriginPattern ( "*" );
92
+ // configuration.addAllowedOrigin(kbOrigin);
93
93
configuration .setAllowCredentials (true );
94
94
configuration .addAllowedMethod ("*" );
95
95
configuration .addAllowedHeader ("*" );
You can’t perform that action at this time.
0 commit comments