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

Allow helper function change() to return request.responseText on request.status === 301 #72

Open
Rudolf-May opened this issue Feb 12, 2021 · 0 comments

Comments

@Rudolf-May
Copy link

The R package leaflet.extras2 by trafficonese (https://github.com/trafficonese/leaflet.extras2) makes use of the leaflet.wms plugin.
When the package is used within the context of a shiny-server behind an apache proxy the shiny-server returns a response status code of "301 moved permanently". Because of this I the desired featureinfo is not available in this scenario.
The package works perfectly as it should when the shiny-server is adressed directly without an apache proxy.
Would it be OK if you could add the request.status===301 to the if-condition on line 484 of the source code?

Best regards
Rudolf

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

No branches or pull requests

1 participant