0
0
Fork 0

レスキュー画面を追加

This commit is contained in:
Xeltica 2022-09-15 16:26:26 +09:00
parent ae5655bb00
commit 34395eedd8
2 changed files with 17 additions and 0 deletions

View file

@ -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');
});

View file

@ -0,0 +1,13 @@
doctype html
html
head
meta(charset="UTF-8")
body
p 問題を修正するため、端末に残ったデータを削除しました。
p 5秒後にトップページに移動します。
hr
p To solve the problem, deleted data remaining on the device.
p After 5 seconds, you will be redirected to the top page.
script.
localStorage.clear();
setTimeout(() => location.href = '/', 5000);