mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 17:38:54 +00:00
Read HOST from env.
This commit is contained in:
parent
83554207e1
commit
bff4d31ada
@ -103,7 +103,7 @@ MAIL_DEFAULT_SENDER = os.environ.get('REDASH_MAIL_DEFAULT_SENDER', None)
|
||||
MAIL_MAX_EMAILS = os.environ.get('REDASH_MAIL_MAX_EMAILS', None)
|
||||
MAIL_ASCII_ATTACHMENTS = parse_boolean(os.environ.get('REDASH_MAIL_ASCII_ATTACHMENTS', 'false'))
|
||||
|
||||
HOST = ""
|
||||
HOST = os.environ.get('REDASH_HOST', '')
|
||||
|
||||
# CORS settings for the Query Result API (and possbily future external APIs).
|
||||
# In most cases all you need to do is set REDASH_CORS_ACCESS_CONTROL_ALLOW_ORIGIN
|
||||
|
Loading…
Reference in New Issue
Block a user