This commit is contained in:
cutestnekoaqua 2023-02-11 00:02:20 +01:00
parent b8406ecaa4
commit 6e79148152
No known key found for this signature in database
GPG key ID: 6BF0964A5069C1E0

View file

@ -6,7 +6,8 @@ import Koa from "koa";
import Router from "@koa/router"; import Router from "@koa/router";
import multer from "@koa/multer"; import multer from "@koa/multer";
import bodyParser from "koa-bodyparser"; import bodyParser from "koa-bodyparser";
const formidable = require('koa2-formidable') // @ts-ignore
import formidable from 'koa2-formidable'
import cors from "@koa/cors"; import cors from "@koa/cors";
import { apiMastodonCompatible } from './mastodon/ApiMastodonCompatibleService.js'; import { apiMastodonCompatible } from './mastodon/ApiMastodonCompatibleService.js';
import { Instances, AccessTokens, Users } from "@/models/index.js"; import { Instances, AccessTokens, Users } from "@/models/index.js";