Skip to content
Discussion options

You must be logged in to vote

You need to read it from a request header, what headers may depend on where you deploy.

You can use the getClientIPAddress utils from Remix Utils that tries to read from multiple headers, or returns null if it can't find one. If you know the header you will receive you can use that directly.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hungtcs
Comment options

Answer selected by hungtcs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants