aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/webfinger.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/webfinger.ts')
-rw-r--r--server/controllers/webfinger.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/controllers/webfinger.ts b/server/controllers/webfinger.ts
index cc28a8909..1cea513a1 100644
--- a/server/controllers/webfinger.ts
+++ b/server/controllers/webfinger.ts
@@ -1,11 +1,12 @@
1import * as express from 'express' 1import * as express from 'express'
2import { asyncMiddleware } from '../middlewares/async'
2import { webfingerValidator } from '../middlewares/validators/webfinger' 3import { webfingerValidator } from '../middlewares/validators/webfinger'
3import { AccountInstance } from '../models/account/account-interface' 4import { AccountInstance } from '../models/account/account-interface'
4 5
5const webfingerRouter = express.Router() 6const webfingerRouter = express.Router()
6 7
7webfingerRouter.get('/.well-known/webfinger', 8webfingerRouter.get('/.well-known/webfinger',
8 webfingerValidator, 9 asyncMiddleware(webfingerValidator),
9 webfingerController 10 webfingerController
10) 11)
11 12