aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-14 17:31:26 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-27 19:40:51 +0100
commit350e31d6b64e4973dfa5e9f7b46841cb09aeb1ad (patch)
treef4191f3c04a5230fcf8ca3d6ca3248643fc4151d /server.ts
parente34c85e527100c0b5c44567bd951e95be41b8d7e (diff)
downloadPeerTube-350e31d6b64e4973dfa5e9f7b46841cb09aeb1ad.tar.gz
PeerTube-350e31d6b64e4973dfa5e9f7b46841cb09aeb1ad.tar.zst
PeerTube-350e31d6b64e4973dfa5e9f7b46841cb09aeb1ad.zip
Follow works
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/server.ts b/server.ts
index 0878fe757..62219f7df 100644
--- a/server.ts
+++ b/server.ts
@@ -47,7 +47,7 @@ db.init(false).then(() => onDatabaseInitDone())
47// ----------- PeerTube modules ----------- 47// ----------- PeerTube modules -----------
48import { migrate, installApplication } from './server/initializers' 48import { migrate, installApplication } from './server/initializers'
49import { httpRequestJobScheduler, transcodingJobScheduler, VideosPreviewCache } from './server/lib' 49import { httpRequestJobScheduler, transcodingJobScheduler, VideosPreviewCache } from './server/lib'
50import { apiRouter, clientsRouter, staticRouter, servicesRouter } from './server/controllers' 50import { apiRouter, clientsRouter, staticRouter, servicesRouter, webfingerRouter, activityPubRouter } from './server/controllers'
51 51
52// ----------- Command line ----------- 52// ----------- Command line -----------
53 53
@@ -115,6 +115,9 @@ app.use(apiRoute, apiRouter)
115// Services (oembed...) 115// Services (oembed...)
116app.use('/services', servicesRouter) 116app.use('/services', servicesRouter)
117 117
118app.use('/', webfingerRouter)
119app.use('/', activityPubRouter)
120
118// Client files 121// Client files
119app.use('/', clientsRouter) 122app.use('/', clientsRouter)
120 123