fix: #206 タイムラインが未ログイン状態で見れなくなっている問題を修正

This commit is contained in:
usbharu 2023-12-11 15:43:28 +09:00
parent 32cd7ad1db
commit da4d9d698b
1 changed files with 3 additions and 0 deletions

View File

@ -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)
}