diff options
author | Vitaly Takmazov | 2023-01-25 19:39:05 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-25 19:39:05 +0300 |
commit | b82b2e4661f25fa6e81f2e5766f307cb7db1c15f (patch) | |
tree | c4089b6e4f25bf80c36057ad207e8276048e005a /src/main/java/com/juick | |
parent | 56080b328a158bd1301a86f45cc1194be95501d2 (diff) |
Update security config for service worker
Diffstat (limited to 'src/main/java/com/juick')
-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 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", |