mirror of
https://github.com/imgfloat/server.git
synced 2026-02-05 03:39:26 +00:00
Allow public asset access
This commit is contained in:
@@ -68,10 +68,14 @@ public class SecurityConfig {
|
|||||||
.permitAll()
|
.permitAll()
|
||||||
.requestMatchers(HttpMethod.GET, "/api/channels/*/assets/visible")
|
.requestMatchers(HttpMethod.GET, "/api/channels/*/assets/visible")
|
||||||
.permitAll()
|
.permitAll()
|
||||||
|
.requestMatchers(HttpMethod.GET, "/api/channels/*/assets")
|
||||||
|
.permitAll()
|
||||||
.requestMatchers(HttpMethod.GET, "/api/channels/*/canvas")
|
.requestMatchers(HttpMethod.GET, "/api/channels/*/canvas")
|
||||||
.permitAll()
|
.permitAll()
|
||||||
.requestMatchers(HttpMethod.GET, "/api/channels/*/assets/*/content")
|
.requestMatchers(HttpMethod.GET, "/api/channels/*/assets/*/content")
|
||||||
.permitAll()
|
.permitAll()
|
||||||
|
.requestMatchers(HttpMethod.GET, "/api/channels/*/assets/*/preview")
|
||||||
|
.permitAll()
|
||||||
.requestMatchers("/ws/**")
|
.requestMatchers("/ws/**")
|
||||||
.permitAll()
|
.permitAll()
|
||||||
.anyRequest()
|
.anyRequest()
|
||||||
|
|||||||
Reference in New Issue
Block a user