因為koa-generator默認設置了路由,所以伺服器運行返回了 Hello Koa 2! 如下:. router.get('/', async (ctx, next) => { await ctx.render('index', ...
確定! 回上一頁