File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,6 +63,8 @@ VITE_DBKEY=opac-de-627
6363VITE_EXAMPLES=389598534,1830228498,1646529499
6464# Login Server instance base URL
6565VITE_LOGIN_SERVER=http://localhost:3004
66+ # Subjects API to query
67+ VITE_SUBJECTS_API=https://coli-conc.gbv.de/subjects-k10plus
6668# Hardcoded list of allowed user URIs that can perform enrichments in the backend
6769VITE_ALLOWED_USERS=uri1,uri2
6870# List of allowed provider IDs (works in addition to VITE_ALLOWED_USERS, i.e. if a user either has one of the
Original file line number Diff line number Diff line change 88 description ,
99}
1010
11- export const subjectsApi = "https://coli-conc.gbv.de/subjects-k10plus"
11+ export const subjectsApi = import . meta . env . VITE_SUBJECTS_API || "https://coli-conc.gbv.de/subjects-k10plus"
1212export const bartocApi = "https://bartoc.org/api/"
1313export const concordanceApi = "https://coli-conc.gbv.de/api/"
1414export const showWhenExistsKey = "___SHOW_WHEN_EXISTS___"
You can’t perform that action at this time.
0 commit comments