make tag endpoints public

pull/278/head
Sven Sauleau 2023-02-13 16:11:35 +00:00
rodzic 3d6393eda2
commit 3e716104d1
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -58,6 +58,8 @@ export async function main(context: EventContext<Env, any, any>) {
url.pathname === '/.well-known/webfinger' ||
url.pathname === '/api/v1/trends/statuses' ||
url.pathname === '/api/v1/trends/links' ||
url.pathname.startsWith('/api/v1/tags/') ||
url.pathname.startsWith('/api/v1/timelines/tag/') ||
url.pathname.startsWith('/ap/') // all ActivityPub endpoints
) {
return context.next()