☕
This commit is contained in:
parent
c34f711f0b
commit
a51947df76
1 changed files with 4 additions and 0 deletions
|
@ -51,6 +51,10 @@ router.get('/about', async ctx => {
|
||||||
await ctx.render('about');
|
await ctx.render('about');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
router.get('/teapot', async ctx => {
|
||||||
|
await die(ctx, 'I\'m teapot', 418);
|
||||||
|
});
|
||||||
|
|
||||||
router.get('/miauth', async ctx => {
|
router.get('/miauth', async ctx => {
|
||||||
const session = ctx.query.session as string | undefined;
|
const session = ctx.query.session as string | undefined;
|
||||||
if (!session) {
|
if (!session) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue