Compare commits
2
Commits
e1ae71409b
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4d55266221 | ||
|
|
fa79f49b6a |
@@ -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("*"));
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user