Function: locationHintFor()
ts
function locationHintFor(request): DurableObjectLocationHint | undefined;Defined in: server/gateway.ts:194
The Durable Object location hint closest to where a request came from, worked out from Cloudflare's request.cf. Undefined when that is missing, as it is in local development.
Parameters
| Parameter | Type |
|---|---|
request | Request |
Returns
DurableObjectLocationHint | undefined