"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
require("./util/patch"); // 语言、环境补丁
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2FwcC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHdCQUFxQixDQUFDLFVBQVU7QUFDaEMsMkJBQTJCO0FBQzNCLDJDQUFtQztBQUNuQyw2Q0FBNkM7QUFFN0MsTUFBTSxHQUFHLEdBQUcsSUFBSSxHQUFHLEVBQUUsQ0FBQTtBQUNyQixtQkFBUyxDQUFDLEdBQUcsQ0FBQyxDQUFBO0FBQ2Qsb0JBQWtCLENBQUMsR0FBRyxDQUFDLENBQUEsQ0FBQyxRQUFRO0FBRWhDLGtCQUFlLEdBQUcsQ0FBQSJ9