Skip to content

Commit

Permalink
Update config.py with solr synonyms api val
Browse files Browse the repository at this point in the history
  • Loading branch information
EPortman authored Jan 21, 2025
1 parent 9d9e19a commit c8cdf3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ class Config(object):
# SOLR_BASE_URL = os.getenv('SOLR_BASE_URL', None)
SOLR_BASE_URL = "https://namex-solr-dev.apps.silver.devops.gov.bc.ca"

SOLR_SYNONYMS_API_URL = f'{os.getenv("SOLR_SYNONYMS_API_URL", None)}{os.getenv("SOLR_SYNONYMS_API_VERSION", None)}'
# TO_DO (CHANGE THIS VALUE IN ONEPASSWORD SO IT WORKS WITH GCP, POINT TO IT, SO DONT HAVE TO HARDCOAT)
# SOLR_SYNONYMS_API_URL = f'{os.getenv("SOLR_SYNONYMS_API_URL", None)}{os.getenv("SOLR_SYNONYMS_API_VERSION", None)}'
SOLR_SYNONYMS_API_URL = "https://namex-solr-dev.apps.silver.devops.gov.bc.ca/solr/api/v1"

AUTO_ANALYZE_URL = os.getenv('AUTO_ANALYZE_URL', None)
AUTO_ANALYZE_CONFIG = os.getenv('AUTO_ANALYZE_CONFIG', None)
Expand Down

0 comments on commit c8cdf3e

Please sign in to comment.