From ea8107bff8e544594716a76d30ff372fc80d755c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 13 Jul 2022 11:13:19 +0200 Subject: Split static router --- server.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'server.ts') diff --git a/server.ts b/server.ts index e69ad7fb7..35ccc6758 100644 --- a/server.ts +++ b/server.ts @@ -95,9 +95,11 @@ import { VideosPreviewCache, VideosCaptionCache } from './server/lib/files-cache import { activityPubRouter, apiRouter, + miscRouter, clientsRouter, feedsRouter, staticRouter, + wellKnownRouter, lazyStaticRouter, servicesRouter, liveRouter, @@ -231,6 +233,8 @@ app.use('/', botsRouter) // Static files app.use('/', staticRouter) +app.use('/', wellKnownRouter) +app.use('/', miscRouter) app.use('/', downloadRouter) app.use('/', lazyStaticRouter) -- cgit v1.2.3