IPv6 guide
This commit is contained in:
6
app.ts
6
app.ts
@@ -66,6 +66,12 @@ router.get("/", async (ctx: Context) => {
|
||||
ctx.response.type = "text/html";
|
||||
});
|
||||
|
||||
router.get("/guide", async (ctx: Context) => {
|
||||
const html = await eta.render("ipv6-guide", {});
|
||||
ctx.response.body = html;
|
||||
ctx.response.type = "text/html";
|
||||
});
|
||||
|
||||
app.use(router.routes());
|
||||
app.use(router.allowedMethods());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user