让/accesslog必须经过鉴权才能使用

This commit is contained in:
2025-10-13 09:01:08 +08:00
parent 33650f53e2
commit 56b0488c36
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ plugins {
} }
group = "xyz.thewhitedog9487" group = "xyz.thewhitedog9487"
version = "0.6.1" version = "0.7.0"
java { java {
toolchain { toolchain {
@@ -23,7 +23,7 @@ class OpenAPIConfiguration {
.contact(new Contact() .contact(new Contact()
.name("TheWhiteDog9487") .name("TheWhiteDog9487")
.url("https://www.github.com/TheWhiteDog9487/WebAPI")) .url("https://www.github.com/TheWhiteDog9487/WebAPI"))
.version("0.6.1") .version("0.7.0")
.license(new License() .license(new License()
.name("WTFPL") .name("WTFPL")
.url("https://spdx.org/licenses/WTFPL")) ) .url("https://spdx.org/licenses/WTFPL")) )
@@ -27,7 +27,7 @@ class SpringSecurityConfiguration {
.permitAll() .permitAll()
.requestMatchers("/", "/v3/api-docs/**","swagger-ui/**", "/swagger-ui.html") .requestMatchers("/", "/v3/api-docs/**","swagger-ui/**", "/swagger-ui.html")
.permitAll() .permitAll()
.requestMatchers("/message/**") .requestMatchers("/message/**", "/accesslog/**")
.authenticated() .authenticated()
.anyRequest() .anyRequest()
.denyAll(); }) .denyAll(); })