Cloudflare Pagesã«Basicèªè¨¼ããããã¤ãHonoã®æ¬¡ã®ãã¤ãã¼ã¢ãããã¼ããv3.1.0ãã§ç°¡åã«ã§ããäºå®ã import { Hono } from 'hono' import { basicAuth } from 'hono/basic-auth' import { EventContext, handle } from 'hono/cloudflare-pages' type Bindings = { eventContext: EventContext } const app = new Hono<{ Bindings: Bindings }>() app.all( '*', basicAuth({ username: 'foo', password: 'bar', }), async (c) => { return c.env.eventContext.ne
{{#tags}}- {{label}}
{{/tags}}