Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qwik City feature: To be able to get the IP address of the initial client's request[✨] #2648

Closed
alf5 opened this issue Jan 16, 2023 · 1 comment · Fixed by #4433
Closed
Labels
STATUS-1: needs triage New issue which needs to be triaged TYPE: enhancement New feature or request

Comments

@alf5
Copy link

alf5 commented Jan 16, 2023

Is your feature request related to a problem?

Be good to be able to add logic to the app that is based on the IP address of the incoming request.

Describe the solution you'd like

Be able to query the request's IP address (the originating client's IP address, using Headers from proxys, etc...)

Describe alternatives you've considered

N/A

Additional context

svelte kit: sveltejs/kit#4289

@alf5 alf5 added TYPE: enhancement New feature or request STATUS-1: needs triage New issue which needs to be triaged labels Jan 16, 2023
@samyosm
Copy link

samyosm commented Feb 15, 2023

Yeah, that would be awesome. A trick I found is to get the ip from the client and send it to the back-end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
STATUS-1: needs triage New issue which needs to be triaged TYPE: enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants