kopia lustrzana https://github.com/cloudflare/wildebeest
make tag endpoints public
rodzic
3d6393eda2
commit
3e716104d1
|
@ -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()
|
||||
|
|
Ładowanie…
Reference in New Issue