This commit is contained in:
cutestnekoaqua 2023-02-11 00:35:30 +01:00
parent d103d69727
commit 1a714fb8e4
No known key found for this signature in database
GPG key ID: 6BF0964A5069C1E0
2 changed files with 2 additions and 2 deletions

View file

@ -60,7 +60,7 @@ router.use(
}),
);
mastoRouter.use(koaBody());
mastoRouter.use(koaBody({ multipart: true }));
apiMastodonCompatible(mastoRouter);

View file

@ -72,7 +72,7 @@ app.use(mount("/proxy", proxyServer));
const router = new Router();
const mastoRouter = new Router();
mastoRouter.use(koaBody());
mastoRouter.use(koaBody({ multipart: true }));
// Routing
router.use(activityPub.routes());