tangled
alpha
login
or
join now
finxol.io
/
hooks
0
fork
atom
Simple API gateway for webhooks
0
fork
atom
overview
issues
pulls
pipelines
chore: allow all origin
finxol.io
6 months ago
e3adea51
793ac202
verified
This commit was signed with the committer's
known signature
.
finxol.io
SSH Key Fingerprint:
SHA256:olFE3asYdoBMScuJOt60UxXdJ0RFdGv5kVKrdOtIcPI=
1/1
deploy.yaml
success
15s
+2
1 changed file
expand all
collapse all
unified
split
src
sensors.ts
+2
src/sensors.ts
···
135
135
136
136
const sensors = new Hono()
137
137
.get("/country", async (c) => {
138
138
+
c.header("Access-Control-Allow-Origin", "*")
139
139
+
138
140
// Served cached data if available
139
141
const cached = await kv.get<Country>(["country"])
140
142
if (cached.value) {