Optimize tools api

This commit is contained in:
2024-02-18 17:39:12 +08:00
parent c5dcb432ef
commit 0baccbd0e5
4 changed files with 21 additions and 13 deletions

View File

@@ -79,7 +79,7 @@ class SecurityConfig(
"/forget",
"/retrieve"
).anonymous()
.requestMatchers("/tool/detail/**").permitAll()
.requestMatchers("/tool/detail/**", "/tool/store").permitAll()
// Authentication required
.anyRequest().authenticated()
}