Support Cloudflare request.cf to get to timezone and other geo data #6261
JorritSalverda
started this conversation in
Proposals
Replies: 2 comments
-
You can access this via |
Beta Was this translation helpful? Give feedback.
0 replies
-
Coming to this a bit late; in your
... to get access to the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
With the latest package
@remix-run/cloudflare 1.15.0
in Typescript it's unfortunately not possible to use therequest.cf
property as documented at https://developers.cloudflare.com/workers/runtime-apis/request?ref=blog.cloudflare.com#incomingrequestcfproperties. It would be very helpful to be able to use it to have correct server-side rendering in the user's timezone along the lines of the following snippet:Is it planned to add this or are there other ways to get to this property? Thx
Beta Was this translation helpful? Give feedback.
All reactions