diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-12-12 17:47:12 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-12-12 19:49:45 -0800 |
commit | e5d0d98d0377c5833dc4fedb6d8df14f5489edb5 (patch) | |
tree | 0e757d593555e2e8d970ac8a893cd24fb340c41e /python/fatcat_web/web_config.py | |
parent | 7238a0ac6c977f6e3f72224eb63566577a082185 (diff) | |
download | fatcat-e5d0d98d0377c5833dc4fedb6d8df14f5489edb5.tar.gz fatcat-e5d0d98d0377c5833dc4fedb6d8df14f5489edb5.zip |
initial 'Save Paper Now' web form
Diffstat (limited to 'python/fatcat_web/web_config.py')
-rw-r--r-- | python/fatcat_web/web_config.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/fatcat_web/web_config.py b/python/fatcat_web/web_config.py index ec37b66d..44175ab4 100644 --- a/python/fatcat_web/web_config.py +++ b/python/fatcat_web/web_config.py @@ -28,6 +28,10 @@ class Config(object): ELASTICSEARCH_RELEASE_INDEX = os.environ.get("ELASTICSEARCH_RELEASE_INDEX", default="fatcat_release") ELASTICSEARCH_CONTAINER_INDEX = os.environ.get("ELASTICSEARCH_CONTAINER_INDEX", default="fatcat_container") + # for save-paper-now. set to None if not configured, so we don't display forms/links + KAFKA_PIXY_ENDPOINT = os.environ.get("KAFKA_PIXY_ENDPOINT", default=None) or None + KAFKA_SAVEPAPERNOW_TOPIC="sandcrawler-dev.ingest-file-requests" + # for flask things, like session cookies FLASK_SECRET_KEY = os.environ.get("FLASK_SECRET_KEY", default=None) SECRET_KEY = FLASK_SECRET_KEY |