aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts13
1 files changed, 11 insertions, 2 deletions
diff --git a/server.ts b/server.ts
index 97941c958..06d575c86 100644
--- a/server.ts
+++ b/server.ts
@@ -69,7 +69,15 @@ import { installApplication } from './server/initializers'
69import { Emailer } from './server/lib/emailer' 69import { Emailer } from './server/lib/emailer'
70import { JobQueue } from './server/lib/job-queue' 70import { JobQueue } from './server/lib/job-queue'
71import { VideosPreviewCache } from './server/lib/cache' 71import { VideosPreviewCache } from './server/lib/cache'
72import { apiRouter, clientsRouter, staticRouter, servicesRouter, webfingerRouter, activityPubRouter } from './server/controllers' 72import {
73 activityPubRouter,
74 apiRouter,
75 clientsRouter,
76 feedsRouter,
77 staticRouter,
78 servicesRouter,
79 webfingerRouter
80} from './server/controllers'
73import { Redis } from './server/lib/redis' 81import { Redis } from './server/lib/redis'
74import { BadActorFollowScheduler } from './server/lib/schedulers/bad-actor-follow-scheduler' 82import { BadActorFollowScheduler } from './server/lib/schedulers/bad-actor-follow-scheduler'
75import { RemoveOldJobsScheduler } from './server/lib/schedulers/remove-old-jobs-scheduler' 83import { RemoveOldJobsScheduler } from './server/lib/schedulers/remove-old-jobs-scheduler'
@@ -144,8 +152,9 @@ app.use(apiRoute, apiRouter)
144// Services (oembed...) 152// Services (oembed...)
145app.use('/services', servicesRouter) 153app.use('/services', servicesRouter)
146 154
147app.use('/', webfingerRouter)
148app.use('/', activityPubRouter) 155app.use('/', activityPubRouter)
156app.use('/', feedsRouter)
157app.use('/', webfingerRouter)
149 158
150// Client files 159// Client files
151app.use('/', clientsRouter) 160app.use('/', clientsRouter)