Skip to content

Commit

Permalink
Set scheme in ES host setting
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanw committed Dec 19, 2023
1 parent 17ee8bd commit 13d0663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion froide/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ def STATICFILES_DIRS(self):
ELASTICSEARCH_INDEX_PREFIX = "froide"
ELASTICSEARCH_HOST = values.Value("localhost")
ELASTICSEARCH_DSL = {
"default": {"hosts": "%s:9200" % ELASTICSEARCH_HOST},
"default": {"hosts": "http://%s:9200" % ELASTICSEARCH_HOST},
}
ELASTICSEARCH_DSL_SIGNAL_PROCESSOR = (
"django_elasticsearch_dsl.signals.RealTimeSignalProcessor"
Expand Down

0 comments on commit 13d0663

Please sign in to comment.