NYULibraries / spatial_data_repository

NYU's GeoBlacklight instance @ geo.nyu.edu
https://geo.nyu.edu
6 stars 2 forks source link

Strip out proxy from Rails-based WMS requests #370

Closed spilth closed 1 month ago

spilth commented 1 month ago

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