From a51947df76c69dd4c309dff51f0dbff91138083f Mon Sep 17 00:00:00 2001 From: Xeltica Date: Tue, 4 Aug 2020 20:11:24 +0900 Subject: [PATCH] =?UTF-8?q?=E2=98=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/router.ts b/src/router.ts index b0a584e..efcee7f 100644 --- a/src/router.ts +++ b/src/router.ts @@ -51,6 +51,10 @@ router.get('/about', async ctx => { await ctx.render('about'); }); +router.get('/teapot', async ctx => { + await die(ctx, 'I\'m teapot', 418); +}); + router.get('/miauth', async ctx => { const session = ctx.query.session as string | undefined; if (!session) {