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 authored and Ryan Kelly committed 2017-11-15 08:03:38 +11:00
1 parent 3d2d2820a7
commit 095701c0cf
2 files changed
+4

No files matched your search

+3
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),