1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-13 14:18:26 +09:00
This commit is contained in:
tamaina 2020-02-09 20:53:00 +09:00
parent 23e7650983
commit 982520bcef
2 changed files with 2 additions and 2 deletions

View File

@ -327,8 +327,8 @@ const override = (source: string, target: string, depth: number = 0) =>
router.get('/othello', async ctx => ctx.redirect(override(ctx.URL.pathname, 'games/reversi', 1))); router.get('/othello', async ctx => ctx.redirect(override(ctx.URL.pathname, 'games/reversi', 1)));
router.get('/reversi', async ctx => ctx.redirect(override(ctx.URL.pathname, 'games'))); router.get('/reversi', async ctx => ctx.redirect(override(ctx.URL.pathname, 'games')));
router.get('/flash', async ctx => { router.get('/flush', async ctx => {
await ctx.render('flash'); await ctx.render('flush');
}); });
// Render base html for all requests // Render base html for all requests