Fixing not working database/new admin endpoint

This commit is contained in:
Fabian Stamm
2019-10-11 19:35:36 +02:00
parent 65d1710902
commit 6036556a37
3 changed files with 25 additions and 22 deletions

View File

@ -6,11 +6,11 @@ import V1 from "./v1";
const Web = new koa();
Web.use(RequestLog)
Web.use(RequestLog);
Web.use(RequestError);
Web.use(BodyParser({}))
Web.use(BodyParser({}));
Web.use(V1.routes())
Web.use(V1.allowedMethods())
Web.use(V1.routes());
Web.use(V1.allowedMethods());
export default Web;