Compare commits

2 Commits
2 changed files with 4 additions and 2 deletions
@@ -31,7 +31,9 @@ public class SecurityConfig {
CorsConfiguration config = new CorsConfiguration();
config.setAllowedOrigins(Arrays.asList(
"http://localhost:5173",
"http://127.0.0.1:5173"
"http://127.0.0.1:5173",
"http://localhost:8000",
"http://127.0.0.1:8000"
));
config.setAllowedMethods(Arrays.asList("GET", "POST", "PUT", "DELETE", "OPTIONS", "PATCH"));
config.setAllowedHeaders(Collections.singletonList("*"));
+1 -1
View File
@@ -8,7 +8,7 @@
<pattern>app=backend,host=${HOSTNAME},level=%level</pattern>
</label>
<message>
<pattern>%l %msg</pattern>
<pattern>%logger %msg</pattern>
</message>
</format>
</appender>