user ip
Answered
Fire ant posted this in #help-forum
Fire antOP
how to get user ip in actions.ts?
4 Replies
@Fire ant how to get user ip in actions.ts?
headers().get("x-forwarded-for")Answer
@joulev `headers().get("x-forwarded-for")`
Fire antOP
Thank you â¤ï¸
note that there are several things you need to consider when using
x-forwarded-for: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#security_and_privacy_concerns