wip
This commit is contained in:
@@ -13,7 +13,9 @@ const handler = require('./api-handler').default;
|
||||
|
||||
// Init app
|
||||
const app = new Koa();
|
||||
app.use(bodyParser);
|
||||
app.use(bodyParser({
|
||||
detectJSON: () => true
|
||||
}));
|
||||
|
||||
// Init multer instance
|
||||
const upload = multer({
|
||||
|
Reference in New Issue
Block a user