maproulette / maproulette3

MapRoulette, the micro-tasking tool for OpenStreetMap
https://maproulette.org
MIT License
128 stars 35 forks source link

Rapid URL should be a config parameter (rather than hardcoded) #2438

Open jake-low opened 2 months ago

jake-low commented 2 months ago

As a temporary workaround for https://github.com/facebook/Rapid/issues/1561, I published a hotfix to pin the Rapid version at 2.3. This required changing the MR frontend code, tagging a new version, building a new docker artifact and redeploying the service.

It would have been easier if I had chosen to make the Rapid CDN URL a configurable value when I refactored the editor integration recently (something like REACT_APP_RAPID_EDITOR_CDN_URL in .env). So I'm opening this issue to remind myself to implement that at some point. I'm not sure if it's straightforward to embed values from the config into static assets like rapid-editor.html but I think it's probably possible.