diff options
Diffstat (limited to 'src/server/activitypub.ts')
| -rw-r--r-- | src/server/activitypub.ts | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/server/activitypub.ts b/src/server/activitypub.ts index 1fbc621e91..f8a01a6ffe 100644 --- a/src/server/activitypub.ts +++ b/src/server/activitypub.ts @@ -11,7 +11,7 @@ import renderNote from '../remote/activitypub/renderer/note'; import renderKey from '../remote/activitypub/renderer/key'; import renderPerson from '../remote/activitypub/renderer/person'; import renderOrderedCollection from '../remote/activitypub/renderer/ordered-collection'; -//import parseAcct from '../acct/parse'; +import parseAcct from '../acct/parse'; import config from '../config'; // Init router @@ -142,20 +142,6 @@ router.get('/@:user', async (ctx, next) => { userInfo(ctx, user); }); - -// follow form -router.get('/authorize-follow', async ctx => { - /* TODO - const { username, host } = parseAcct(ctx.query.acct); - if (host === null) { - res.sendStatus(422); - return; - } - - const finger = await request(`https://${host}`) - */ -}); - //#endregion export default router; |