From bfac316630eaf4dde3a8e80fce7426f5b130ae6d Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 10 Jan 2023 16:52:50 +0300 Subject: Restore Swagger UI --- src/main/java/com/juick/config/SecurityConfig.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/com/juick/config') 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", -- cgit v1.2.3