This commit is contained in:
les
2021-07-27 17:22:56 +02:00
parent 9e696c5884
commit ddd5e05ed4
2 changed files with 2 additions and 2 deletions

View File

@@ -55,11 +55,11 @@ app.get('/feed/:type', cors(), exportController.export)
app.use('/.well-known', webfinger)
app.use('/federation', federation)
// api!
app.use(cookieParser())
// fill req.user if request is authenticated
app.use(auth.fillUser)
// api!
app.use('/api', api)
app.use('/oauth', oauth)