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
Replace hardcoded Coveo api keys with a call to Netlify function (#35)
* remove hardcoded key values, use variables instead
* update variable names to COVEO_API_*
* whitespace
* remove conditional expression for each hugo build environment
* use COVEO_SEARCH_TOKEN env var when calling js.Build
* update comment
* call Netlify function to get API key from environment
* actually call function
* use coveokey variable
* call getSearchToken() function
* remove passing search token as param to js.Build
* make entire function async
* fix path to function
* get token string
* use absolute path for search token api
* try window.location.origin as prefix for token api
0 commit comments