Here's a one-liner: ```ts ((await (await fetch("https://www.cloudflare.com/cdn-cgi/trace")).text()).
Here's a one-liner:
((await (await fetch("https://www.cloudflare.com/cdn-cgi/trace")).text()).match(/^colo=(.+)/m) as string[])[1]loc seems quite useful tooreq.cf.locationreq.cf value is set in the first Worker in the chain. It isn't modified if you pass the request on to another Worker(via Service Bindings) or a Durable Objectcdn-cgi/trace shows my colo is FRA (France), OpenAI is still rejecting my requests when I connect via a VPN to Hong KongFRA is Frankfurt in Germany. But also, iirc, requests from Workers still pass along a connecting IP header, and I'm wondering if that also happens for the DOfetch requests from a DO might include, without my explicit configuration, a header indicating the IP the incoming request originated from?



Share some remote service tokens, or that same service address for example.
...but your local DB address/password is your own setup

secrets store

whisper v3 turbo
cf-ipcountry to outgoing subrequest fetch() calls?locreq.cf.locationreq.cfcdn-cgi/traceFRAFRAfetch 'cf-ipcountry': 'HK',secrets storewhisper v3 turbocf-ipcountryfetch()await env.AI.run(
"@cf/openai/whisper-large-v3-turbo",
{ audio: audioBase64 }
);