diff options
author | Chocobozzz <me@florianbigard.com> | 2022-07-13 11:13:19 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-07-13 11:16:29 +0200 |
commit | ea8107bff8e544594716a76d30ff372fc80d755c (patch) | |
tree | c2383e0e9cd1298ff12106073086721edb5fb441 /server.ts | |
parent | c5cadb2859050449596199090231d6e38bc4a571 (diff) | |
download | PeerTube-ea8107bff8e544594716a76d30ff372fc80d755c.tar.gz PeerTube-ea8107bff8e544594716a76d30ff372fc80d755c.tar.zst PeerTube-ea8107bff8e544594716a76d30ff372fc80d755c.zip |
Split static router
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -95,9 +95,11 @@ import { VideosPreviewCache, VideosCaptionCache } from './server/lib/files-cache | |||
95 | import { | 95 | import { |
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 |
233 | app.use('/', staticRouter) | 235 | app.use('/', staticRouter) |
236 | app.use('/', wellKnownRouter) | ||
237 | app.use('/', miscRouter) | ||
234 | app.use('/', downloadRouter) | 238 | app.use('/', downloadRouter) |
235 | app.use('/', lazyStaticRouter) | 239 | app.use('/', lazyStaticRouter) |
236 | 240 | ||