aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-01-25 19:39:05 +0300
committerGravatar Vitaly Takmazov2023-01-25 19:39:05 +0300
commitb82b2e4661f25fa6e81f2e5766f307cb7db1c15f (patch)
treec4089b6e4f25bf80c36057ad207e8276048e005a /src
parent56080b328a158bd1301a86f45cc1194be95501d2 (diff)
Update security config for service worker
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/juick/config/SecurityConfig.java1
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",