make using CORS configurable by environment var, defaults to false

This commit is contained in:
dhax 2019-03-09 14:42:08 +01:00
parent bc565a4008
commit 9f75bf6a5d
4 changed files with 7 additions and 4 deletions

View file

@ -69,6 +69,7 @@ EMAIL_SMTP_USER | string || email smtp username
EMAIL_SMTP_PASSWORD | string || email smtp password
EMAIL_FROM_ADDRESS | string || from address used in sending emails
EMAIL_FROM_NAME | string || from name used in sending emails
ENABLE_CORS | bool | false | enable CORS requests
### Contributing