1
2
3
4
5
6
7
8
9
10
11
12
import { Hono } from "npm:hono";
import { cors } from "npm:hono/cors";
const app = new Hono();
app.use(cors());
app.get("/", async (c) => {
return c.json({ data: "https://gravatar.com/avatar/cb18420ea6d5e7d80748de33a18b6149?size=256" });
});
export default app.fetch;