Removes stripping of http from url

This commit is contained in:
Winterflower 2019-12-02 17:18:40 +01:00
parent d3caf663c5
commit 4e6305c24a

View File

@ -6,7 +6,6 @@ ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
# Define test files and indices
ELASTICSEARCH_HOST = os.environ.get('ELASTICSEARCH_HOST') or 'localhost'
ELASTICSEARCH_HOST = ELASTICSEARCH_HOST.lstrip('http://')
FLIGHTS_INDEX_NAME = 'flights'
FLIGHTS_MAPPING = {"mappings": {