import { Hono } from "hono"; import { poweredBy } from "hono/powered-by"; const app = new Hono(); // Mount Builtin Middleware app.use("*", poweredBy()); // Routing app.get("/", (c) => c.html( `
Try visiting: /my-file.txt and /folder/nested-file.txt
Learn more about serving static files in Hono here
` ) ); export default app;