koa-template/route/index.js
JayChen 5b85b57e99
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
first version
2019-12-18 10:59:34 +08:00

8 lines
168 B
JavaScript

const Router = require('@koa/router')
const r = new Router()
module.exports = r
const controller = require('@controller/index.js')
r.get('/', controller.healthCheck)