koa-template/route/index.js

8 lines
168 B
JavaScript
Raw Permalink Normal View History

2019-12-18 02:59:34 +00:00
const Router = require('@koa/router')
const r = new Router()
module.exports = r
const controller = require('@controller/index.js')
r.get('/', controller.healthCheck)