Skip to content

Commit

Permalink
[allsearch-frontend] add envvar for bibdata url (#4643)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandbergja authored Feb 8, 2024
1 parent 79d5ee0 commit 78af5d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions group_vars/allsearch_frontend/production.yml
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions group_vars/allsearch_frontend/staging.yml
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions roles/allsearch_frontend/templates/env.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}'

0 comments on commit 78af5d4

Please sign in to comment.