CoastalResilienceNetwork / GeositeFramework

Mapping Framework powering TNC Coastal Resilience programs
http://maps.coastalresilience.org/network/
GNU General Public License v3.0
13 stars 10 forks source link

Map util files can't be found when serving from IIS application folder #1158

Closed caseycesari closed 5 years ago

caseycesari commented 5 years ago

If you set up a site in IIS, add an application for the region, and serve it, the map widgets JS can't be found. These files use a relative path that breaks when served from a folder on a domain.

Example: https://github.com/CoastalResilienceNetwork/GeositeFramework/blob/feature/task-1/src/js/widgets/map_utils/measure/main.js#L3

Find a way to import these files that works when the app is served from the top-level or a subfolder.