ree
This commit is contained in:
parent
d103d69727
commit
1a714fb8e4
|
@ -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 New Issue