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

Strip out proxy from Rails-based WMS requests #370

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

spilth
Copy link
Collaborator

@spilth spilth commented Aug 26, 2024

Problem

Restricted records use the NYU proxy to let the front end load maps via the restricted GeoServer. When a user clicks on a feature to identify it, the request goes through the Rails server but the Rails app isn't allowed through the proxy.

Solution

Strip the proxy from the WMS URL so that our backend requests go straight to the Restricted GeoServer.

Addresses #369

Type

bug-fix

@spilth spilth requested review from mnyrop, ekate and nmwolf August 26, 2024 21:10
Copy link

@ekate ekate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@spilth, all looks good to me.

@spilth spilth merged commit c538513 into main Sep 3, 2024
1 check passed
@spilth spilth deleted the 369-strip-proxy-from-rails-wms-requests branch September 3, 2024 16:46
Copy link
Collaborator

@nmwolf nmwolf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

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

Successfully merging this pull request may close these issues.

3 participants