Simple API gateway for webhooks

chore: allow all origin

finxol.io e3adea51 793ac202

verified
Changed files
+2
src
+2
src/sensors.ts
···
const sensors = new Hono()
.get("/country", async (c) => {
+
c.header("Access-Control-Allow-Origin", "*")
+
// Served cached data if available
const cached = await kv.get<Country>(["country"])
if (cached.value) {