seed
This commit is contained in:
parent
1495fae433
commit
36d93e8413
@ -5,7 +5,7 @@ import InitHandler from "./routers/handler";
|
|||||||
import catchError from "./utils/catchError";
|
import catchError from "./utils/catchError";
|
||||||
// 使用路由
|
// 使用路由
|
||||||
const app = new Koa();
|
const app = new Koa();
|
||||||
app.use(catchError);
|
// app.use(catchError());
|
||||||
app.use(bodyParser());
|
app.use(bodyParser());
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user