yext / answers-search-ui

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

Pass CloudRegion to Search Core #1820

Closed cea2aj closed 1 year ago

cea2aj commented 1 year ago

This change uses the CloudRegion injected during the build process and passes it to the Search Core config. It also passes the environment using the environment provided from the config rather than manually constructing the endpoints.

J=BACK-2269 TEST=manual

Manually tested the eu assets with an eu test site and confirmed the requests were being made correctly. Also tested the search-bar only integration in eu. Confirmed the us build still worked as expected.

coveralls commented 1 year ago

Coverage Status

Coverage: 61.394% (-0.006%) from 61.4% when pulling 83784321f307f446a1b9bc01ae746e8adb1056c5 on dev/pass-cloud-region-to-core into fa0e71226b76dcf5164e33725c62f8dedea4f293 on develop.