IPv6 guide

This commit is contained in:
2025-08-09 19:36:42 +02:00
parent 33b7a5043c
commit cc3c7a2658
3 changed files with 500 additions and 1 deletions

6
app.ts
View File

@@ -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());