summaryrefslogtreecommitdiffstats
path: root/python/web_config.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-11-13 22:01:18 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-11-13 22:01:18 -0800
commita616256c6ff7d083fa7eebae6bc0ebaa1a9ac1aa (patch)
treeeeb0ba6f424a50d9a73349722db1df2cd57f0cb0 /python/web_config.py
parentad9a316e59f311ba9e1597efd69c7bf5ac1f046b (diff)
downloadfatcat-a616256c6ff7d083fa7eebae6bc0ebaa1a9ac1aa.tar.gz
fatcat-a616256c6ff7d083fa7eebae6bc0ebaa1a9ac1aa.zip
have webface default to local elasticsearch
Diffstat (limited to 'python/web_config.py')
-rw-r--r--python/web_config.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/web_config.py b/python/web_config.py
index 2bb000eb..ed6d830a 100644
--- a/python/web_config.py
+++ b/python/web_config.py
@@ -8,7 +8,8 @@ class Config(object):
GIT_REVISION = subprocess.check_output(["git", "describe", "--always"]).strip()
# This is, effectively, the QA/PROD flag
FATCAT_DOMAIN = os.environ.get("FATCAT_DOMAIN", default="qa.fatcat.wiki")
- ELASTIC_BACKEND = os.environ.get("ELASTIC_BACKEND", default="https://search.fatcat.wiki")
+ # can set this to https://search.fatcat.wiki for some experimentation
+ ELASTIC_BACKEND = os.environ.get("ELASTIC_BACKEND", default="http://localhost:9200")
ELASTIC_INDEX = os.environ.get("ELASTIC_INDEX", default="fatcat")
# "Event more verbose" debug options. SECRET_KEY is bogus.