"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Koa = require("koa");
const bootstrap_1 = require("./bootstrap");
const middleware_1 = require("./middleware");
const app = new Koa();
bootstrap_1.default(app);
middleware_1.default(app); // 注册中间件
exports.default = app;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2FwcC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDJCQUEyQjtBQUMzQiwyQ0FBbUM7QUFDbkMsNkNBQTZDO0FBRTdDLE1BQU0sR0FBRyxHQUFHLElBQUksR0FBRyxFQUFFLENBQUE7QUFDckIsbUJBQVMsQ0FBQyxHQUFHLENBQUMsQ0FBQTtBQUNkLG9CQUFrQixDQUFDLEdBQUcsQ0FBQyxDQUFBLENBQUMsUUFBUTtBQUVoQyxrQkFBZSxHQUFHLENBQUEifQ==