Skip to content

Commit

Permalink
feat: Add swagger_enabled as env var (#153)
Browse files Browse the repository at this point in the history
Signed-off-by: Paschalis Dimitriou <paschalis.dimitriou@gmail.com>
  • Loading branch information
PaschalisDim authored Oct 14, 2020
1 parent bba6434 commit 3d922df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion search_service/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Config:
# Config used by ElastichSearch
ELASTICSEARCH_INDEX = 'table_search_index'

SWAGGER_ENABLED = False
SWAGGER_ENABLED = os.environ.get('SWAGGER_ENABLED', False)


class LocalConfig(Config):
Expand Down

0 comments on commit 3d922df

Please sign in to comment.