レスキュー画面を追加
This commit is contained in:
parent
ae5655bb00
commit
34395eedd8
2 changed files with 17 additions and 0 deletions
|
@ -156,6 +156,10 @@ router.get('/announcements/:id', async (ctx) => {
|
|||
} : null);
|
||||
});
|
||||
|
||||
router.get('/__rescue__', async(ctx) => {
|
||||
await ctx.render('rescue');
|
||||
});
|
||||
|
||||
router.get('(.*)', async (ctx) => {
|
||||
await ctx.render('frontend');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue