This commit is contained in:
Jay
2017-09-04 18:34:44 +08:00
parent ca119388d7
commit 2c89f32c8d
9 changed files with 115 additions and 59 deletions
+12
View File
@@ -0,0 +1,12 @@
const KoaRouter = require('koa-router')
const router = new KoaRouter()
router
.get('/', async (c, n) => {
c.redirect('/install')
})
.all('/install', async (c, n) => {
c.body = 'install'
})
module.exports = router