mirror of
https://github.com/certd/certd.git
synced 2026-06-26 21:43:27 +08:00
11 lines
183 B
JavaScript
11 lines
183 B
JavaScript
|
|
import Router from 'koa-router'
|
||
|
|
const router = Router()
|
||
|
|
|
||
|
|
router.get('/', async (ctx, next) => {
|
||
|
|
await ctx.render('index', {
|
||
|
|
title: 'Hello CertD!'
|
||
|
|
})
|
||
|
|
})
|
||
|
|
|
||
|
|
export default router
|