You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... handles selecting the correct data for the given environment IFF we're running in a docker-compose style deployment.
However, we also deploy to pre-production Drupal environments as an NPM package, in which case the default production data URL is used. We should be able to detect that we're in an integration.*.nsidc.org URL and select the corresponding pre-production data URL, e.g. https://integration.nsidc.org/api/snow-today.
The text was updated successfully, but these errors were encountered:
This code:
snow-today-webapp/src/constants/dataServer.ts
Lines 5 to 7 in f4da298
... handles selecting the correct data for the given environment IFF we're running in a docker-compose style deployment.
However, we also deploy to pre-production Drupal environments as an NPM package, in which case the default production data URL is used. We should be able to detect that we're in an
integration.*.nsidc.org
URL and select the corresponding pre-production data URL, e.g.https://integration.nsidc.org/api/snow-today
.The text was updated successfully, but these errors were encountered: