mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Split static router
This commit is contained in:
parent
c5cadb2859
commit
ea8107bff8
5 changed files with 291 additions and 268 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue