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

Cors error when connecting through ssh tunnel #315

Open
Hoss3770 opened this issue Feb 8, 2024 · 1 comment
Open

Cors error when connecting through ssh tunnel #315

Hoss3770 opened this issue Feb 8, 2024 · 1 comment

Comments

@Hoss3770
Copy link

Hoss3770 commented Feb 8, 2024

I often want to test my apis on a staging server. I use a ssh tunnel to connect with my frontend. Even if I for example allow localhost:3000, I still get cors error. If I use a reverse proxy with a domain etc. the same api connects to my local frontend without problems
Does anyone know how why this happens and how to solve this problem? Can it be a bug in the package?
Thank you

@UlisesGascon
Copy link
Member

Hi @Hoss3770! Thanks for reporting this bug. Can you provide a reproducible bug so we can investigate it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants