Skip to content

Commit

Permalink
Update config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mboudet authored Nov 24, 2023
1 parent d134fe4 commit cd86ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ class Config(object):
ES_DISPLAY_FIELDS = display_fields.split(",") if display_fields else []
es_url = "http://{}:{}".format(ES_URL, ES_PORT)
allowed_filters = os.environ.get('ES_ALLOWED_FILTERS', "")
ES_ALLOWED_FILTERS = allowed_filters.split(",") if display_fields else []
ES_ALLOWED_FILTERS = allowed_filters.split(",") if allowed_filters else []
ES_INSTANCE = Elasticsearch(es_url)
ES_HIGHLIGHT_TAG = os.environ.get('ES_HIGHLIGHT_TAG', 'em')

0 comments on commit cd86ffa

Please sign in to comment.