mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-29 13:27:31 -07:00
ree
This commit is contained in:
parent
e58b839339
commit
657f40e771
2 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ router.use(
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|
||||||
mastoRouter.use(koaBody());
|
mastoRouter.use(koaBody({ multipart: true }));
|
||||||
|
|
||||||
apiMastodonCompatible(mastoRouter);
|
apiMastodonCompatible(mastoRouter);
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,7 @@ app.use(mount("/proxy", proxyServer));
|
||||||
const router = new Router();
|
const router = new Router();
|
||||||
const mastoRouter = new Router();
|
const mastoRouter = new Router();
|
||||||
|
|
||||||
mastoRouter.use(koaBody());
|
mastoRouter.use(koaBody({ multipart: true }));
|
||||||
|
|
||||||
// Routing
|
// Routing
|
||||||
router.use(activityPub.routes());
|
router.use(activityPub.routes());
|
||||||
|
|
Loading…
Reference in a new issue