aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-07-13 11:13:19 +0200
committerChocobozzz <me@florianbigard.com>2022-07-13 11:16:29 +0200
commitea8107bff8e544594716a76d30ff372fc80d755c (patch)
treec2383e0e9cd1298ff12106073086721edb5fb441 /server.ts
parentc5cadb2859050449596199090231d6e38bc4a571 (diff)
downloadPeerTube-ea8107bff8e544594716a76d30ff372fc80d755c.tar.gz
PeerTube-ea8107bff8e544594716a76d30ff372fc80d755c.tar.zst
PeerTube-ea8107bff8e544594716a76d30ff372fc80d755c.zip
Split static router
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts4
1 files changed, 4 insertions, 0 deletions
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
95import { 95import {
96 activityPubRouter, 96 activityPubRouter,
97 apiRouter, 97 apiRouter,
98 miscRouter,
98 clientsRouter, 99 clientsRouter,
99 feedsRouter, 100 feedsRouter,
100 staticRouter, 101 staticRouter,
102 wellKnownRouter,
101 lazyStaticRouter, 103 lazyStaticRouter,
102 servicesRouter, 104 servicesRouter,
103 liveRouter, 105 liveRouter,
@@ -231,6 +233,8 @@ app.use('/', botsRouter)
231 233
232// Static files 234// Static files
233app.use('/', staticRouter) 235app.use('/', staticRouter)
236app.use('/', wellKnownRouter)
237app.use('/', miscRouter)
234app.use('/', downloadRouter) 238app.use('/', downloadRouter)
235app.use('/', lazyStaticRouter) 239app.use('/', lazyStaticRouter)
236 240