aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-12-05 17:27:24 +0100
committerChocobozzz <me@florianbigard.com>2018-12-05 17:44:34 +0100
commit2feebf3e6afaad9ab80976d1557d3a7bcf94de03 (patch)
tree47df940d7d600cec5e08eb7715bdb5bdae085e59 /server.ts
parent3b3b18203fe73e499bf8b49b15369710df95993e (diff)
downloadPeerTube-2feebf3e6afaad9ab80976d1557d3a7bcf94de03.tar.gz
PeerTube-2feebf3e6afaad9ab80976d1557d3a7bcf94de03.tar.zst
PeerTube-2feebf3e6afaad9ab80976d1557d3a7bcf94de03.zip
Add sitemap
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server.ts b/server.ts
index 3025a6fd7..4a2a6ddf5 100644
--- a/server.ts
+++ b/server.ts
@@ -87,7 +87,7 @@ import {
87 servicesRouter, 87 servicesRouter,
88 webfingerRouter, 88 webfingerRouter,
89 trackerRouter, 89 trackerRouter,
90 createWebsocketServer 90 createWebsocketServer, botsRouter
91} from './server/controllers' 91} from './server/controllers'
92import { advertiseDoNotTrack } from './server/middlewares/dnt' 92import { advertiseDoNotTrack } from './server/middlewares/dnt'
93import { Redis } from './server/lib/redis' 93import { Redis } from './server/lib/redis'
@@ -156,6 +156,7 @@ app.use('/', activityPubRouter)
156app.use('/', feedsRouter) 156app.use('/', feedsRouter)
157app.use('/', webfingerRouter) 157app.use('/', webfingerRouter)
158app.use('/', trackerRouter) 158app.use('/', trackerRouter)
159app.use('/', botsRouter)
159 160
160// Static files 161// Static files
161app.use('/', staticRouter) 162app.use('/', staticRouter)