diff options
author | Vitaly Takmazov | 2023-01-10 16:52:50 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-10 16:52:50 +0300 |
commit | bfac316630eaf4dde3a8e80fce7426f5b130ae6d (patch) | |
tree | 8d52c8820d42b41d3843f322db4cf09a8a4c06f6 /src/main/java/com/juick/config | |
parent | 8c7a78b4cd5d71661362ebd3209bc53e715bff53 (diff) |
Restore Swagger UI
Diffstat (limited to 'src/main/java/com/juick/config')
-rw-r--r-- | src/main/java/com/juick/config/SecurityConfig.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/juick/config/SecurityConfig.java b/src/main/java/com/juick/config/SecurityConfig.java index 34e0a84d..255b0c5d 100644 --- a/src/main/java/com/juick/config/SecurityConfig.java +++ b/src/main/java/com/juick/config/SecurityConfig.java @@ -197,6 +197,7 @@ public class SecurityConfig { .authorizeHttpRequests(requests -> requests .requestMatchers(HttpMethod.OPTIONS).permitAll() .requestMatchers("/api/", "/api/messages", "/api/avatar", + "/api/swagger-ui/**", "/api/messages/discussions", "/api/users", "/api/thread", "/api/tags", "/api/tlgmbtwbhk", "/api/fbwbhk", |