aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/config
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-01-06 04:14:38 +0300
committerGravatar Vitaly Takmazov2023-01-06 04:14:38 +0300
commitfcde250ec6a519173c53f195ffed1aa139b333f0 (patch)
treefbb2f1ae27f8adf3239e266294d0a7492637ef5b /src/main/java/com/juick/config
parent5289ec12a2f8d8d196c87830fc227b32e9132d03 (diff)
Mastodon API: conversations
Diffstat (limited to 'src/main/java/com/juick/config')
-rw-r--r--src/main/java/com/juick/config/SecurityConfig.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/juick/config/SecurityConfig.java b/src/main/java/com/juick/config/SecurityConfig.java
index 43c5dadc..7fada80b 100644
--- a/src/main/java/com/juick/config/SecurityConfig.java
+++ b/src/main/java/com/juick/config/SecurityConfig.java
@@ -206,8 +206,8 @@ public class SecurityConfig {
"/api/skypebotendpoint", "/api/_fblogin",
"/api/_vklogin", "/api/_tglogin",
"/api/_google", "/api/_applelogin", "/api/signup",
- "/api/inbox", "/api/events", "/u/**", "/n/**",
- "/api/info/**", "/api/v1/apps", "/api/v1/instance",
+ "/api/inbox", "/api/events", "/api/u/", "/u/**", "/n/**",
+ "/api/info/**", "/api/v1/apps", "/api/v1/instance", "/api/v2/instance",
"/api/nodeinfo/2.0", "/oauth/**")
.permitAll()
.anyRequest().hasAnyAuthority("SCOPE_write", "ROLE_USER"))