yext / answers-search-ui

Answers Javascript API Library for building Search experiences.
Other
22 stars 7 forks source link

Inject cloud region into build #1818

Closed cea2aj closed 1 year ago

cea2aj commented 1 year ago

Add support for a CLOUD_REGION env variable which allows either US or EU to be set as the cloud region. Defaults to US.

J=BACK-2269 TEST=manual

Manually ran a build with the CLOUD_REGION env variable set to US and EU and confirmed the CLOUD_REGION variable was set correctly in dist/answers.js

coveralls commented 1 year ago

Coverage Status

Coverage: 61.4% (-0.04%) from 61.441% when pulling 5a02fd529e01de486dd05304a025b67c41734ac3 on dev/eu1-endpoints into 96cc51efb8d7676d18e6cc9663d27fcbca111c34 on develop.