Add SYNCSERVER_FORCE_WSGI_ENVIRON to list of configuration options that can be set via environment variables (#100); r=rfk

This commit is contained in:
Mike Sager
2017-11-14 13:03:38 -08:00
committed by Ryan Kelly
parent 3d2d2820a7
commit 095701c0cf
2 changed files with 4 additions and 0 deletions

View File

@@ -143,6 +143,9 @@ def import_settings_from_environment_variables(settings, environ=None):
("SYNCSERVER_ALLOW_NEW_USERS",
"syncserver.allow_new_users",
str_to_bool),
("SYNCSERVER_FORCE_WSGI_ENVIRON",
"syncserver.force_wsgi_environ",
str_to_bool),
("SYNCSERVER_BATCH_UPLOAD_ENABLED",
"storage.batch_upload_enabled",
str_to_bool),