aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-12-20 17:45:19 +0300
committerGravatar Vitaly Takmazov2019-12-20 17:45:19 +0300
commit4eba3366faa487de6cfc842aeff4a9b3b446f968 (patch)
tree040999ee9f34379d902e42dcfae0d32ff56a6774 /src/main
parente77f2f9cc3ba5d0ef564ba7ffcd23e829704840c (diff)
Permit Apple API endpoint in Security config
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/juick/server/configuration/SecurityConfig.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/server/configuration/SecurityConfig.java b/src/main/java/com/juick/server/configuration/SecurityConfig.java
index d5d899b5..375e5bfb 100644
--- a/src/main/java/com/juick/server/configuration/SecurityConfig.java
+++ b/src/main/java/com/juick/server/configuration/SecurityConfig.java
@@ -118,7 +118,7 @@ public class SecurityConfig {
.antMatchers("/api/", "/api/messages", "/api/avatar", "/api/messages/discussions",
"/api/users", "/api/thread", "/api/tags", "/api/tlgmbtwbhk", "/api/fbwbhk",
"/api/skypebotendpoint", "/api/_fblogin", "/api/_vklogin", "/api/_tglogin",
- "/api/_google", "/api/signup", "/api/inbox", "/api/events", "/api/info/**",
+ "/api/_google", "/api/_apple", "/api/signup", "/api/inbox", "/api/events", "/api/info/**",
"/api/nodeinfo/2.0").permitAll()
.anyRequest().hasRole("USER")
.and()