mirror of
https://github.com/usbharu/Hideout.git
synced 2026-09-26 15:01:09 +00:00
fix: #206 タイムラインが未ログイン状態で見れなくなっている問題を修正
This commit is contained in:
@@ -204,6 +204,9 @@ class SecurityConfig {
|
||||
authorize(POST, "/api/v1/media", hasAnyScope("write", "write:media"))
|
||||
authorize(POST, "/api/v1/statuses", hasAnyScope("write", "write:statuses"))
|
||||
|
||||
authorize(GET, "/api/v1/timelines/public", permitAll)
|
||||
authorize(GET, "/api/v1/timelines/home", hasAnyScope("read", "read:statuses"))
|
||||
|
||||
authorize(anyRequest, authenticated)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user