Working on ES integration for Heroku.

master
Nick Sergeant 2014-10-20 19:29:56 -04:00
parent 731b1b9ebe
commit d9a7c4f2fe
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ if 'DATABASE_URL' in os.environ:
DATABASES = { 'default': dj_database_url.config() }
es = urlparse(os.environ.get('SEARCHBOX_URL') or 'http://127.0.0.1:9200/')
es = urlparse(os.environ.get('SEARCHBOX_SSL_URL') or 'http://127.0.0.1:9200/')
port = es.port or 80
HAYSTACK_CONNECTIONS = {