From b82b2e4661f25fa6e81f2e5766f307cb7db1c15f Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 25 Jan 2023 19:39:05 +0300 Subject: Update security config for service worker --- src/main/java/com/juick/config/SecurityConfig.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/main/java/com/juick/config/SecurityConfig.java b/src/main/java/com/juick/config/SecurityConfig.java index 8f158b82..41992e03 100644 --- a/src/main/java/com/juick/config/SecurityConfig.java +++ b/src/main/java/com/juick/config/SecurityConfig.java @@ -186,6 +186,7 @@ public class SecurityConfig { .requestMatchers(HttpMethod.OPTIONS).permitAll() .requestMatchers("/api/", "/api/messages", "/api/avatar", "/v3/api-docs", + "/sw.js", "/api/swagger-ui/**", "/api/messages/discussions", "/api/users", "/api/thread", "/api/tags", -- cgit v1.2.3