diff --git a/group_vars/allsearch_frontend/production.yml b/group_vars/allsearch_frontend/production.yml index be35805f66..add6425b6c 100644 --- a/group_vars/allsearch_frontend/production.yml +++ b/group_vars/allsearch_frontend/production.yml @@ -1,4 +1,5 @@ --- allsearch_api_url: https://allsearch-api.princeton.edu +bibdata_url: https://bibdata.princeton.edu passenger_server_name: allsearch.princeton.edu allsearch_frontend_environment: production diff --git a/group_vars/allsearch_frontend/staging.yml b/group_vars/allsearch_frontend/staging.yml index 8469009035..749dc7f7ba 100644 --- a/group_vars/allsearch_frontend/staging.yml +++ b/group_vars/allsearch_frontend/staging.yml @@ -1,4 +1,5 @@ --- allsearch_api_url: https://allsearch-api-staging.princeton.edu +bibdata_url: https://bibdata-staging.princeton.edu passenger_server_name: allsearch-staging.princeton.edu allsearch_frontend_environment: staging diff --git a/roles/allsearch_frontend/templates/env.j2 b/roles/allsearch_frontend/templates/env.j2 index 0ccaa21d3b..9db7a01fca 100644 --- a/roles/allsearch_frontend/templates/env.j2 +++ b/roles/allsearch_frontend/templates/env.j2 @@ -4,5 +4,6 @@ # If you need the variable to be available to the client after it has been compiled # (i.e. at runtime), make sure to include the prefix VITE_ VITE_ALLSEARCH_API_URL='{{ allsearch_api_url |default('https://allsearch-api-staging.princeton.edu') }}' +VITE_BIBDATA_URL='{{ bibdata_url | default('https://bibdata-staging.princeton.edu') }}' VITE_HONEYBADGER_API_KEY='{{ vault_allsearch_frontend_honeybadger_api_key | default('this-is-visible-on-requests') }}' VITE_HONEYBADGER_ENV='{{ allsearch_frontend_environment | default('set-environment') }}'