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
{{ message }}
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.
Right now for dev use, sangraha frontend defaults to using our prod elasticsearch url. Which is good for getting started on frontend dev easily but there are times when we need to use a local elasticsearch instance (eg: when testing frontend changes that relies on elasticsearch changes too). For that scenario, we should be able to override the dev default (to something like http://localhost:9200)
This can be achieved by sourcing the API_ENDPOINT from an environment variable that can be set to any url we want. Or we can introduce config files for the frontend (which might be useful for other stuff too).
The text was updated successfully, but these errors were encountered:
Right now for dev use, sangraha frontend defaults to using our prod elasticsearch url. Which is good for getting started on frontend dev easily but there are times when we need to use a local elasticsearch instance (eg: when testing frontend changes that relies on elasticsearch changes too). For that scenario, we should be able to override the dev default (to something like
http://localhost:9200
)This can be achieved by sourcing the
API_ENDPOINT
from an environment variable that can be set to any url we want. Or we can introduce config files for the frontend (which might be useful for other stuff too).The text was updated successfully, but these errors were encountered: