Update: Cors Origin from Docker Environments
This commit is contained in:
parent
a398b49a98
commit
3615ae8d3b
3 changed files with 9 additions and 4 deletions
|
|
@ -21,7 +21,7 @@ class Config(object):
|
|||
}
|
||||
|
||||
SECRET_KEY = os.environ.get('SECRET_KEY', 'default_secret_key')
|
||||
ALLOW_ORIGIN = os.environ.get('ALLOW_ORIGIN', '*')
|
||||
ALLOW_ORIGIN = os.environ.get('ALLOW_ORIGIN', None)
|
||||
|
||||
|
||||
class ProductionConfig(Config):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue