mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-20 10:01:19 +00:00
Use frontend settings instead of env variable
This commit is contained in:
@@ -566,15 +566,6 @@ CONVERT_MEMORY_LIMIT = os.getenv("PAPERLESS_CONVERT_MEMORY_LIMIT")
|
||||
|
||||
GS_BINARY = os.getenv("PAPERLESS_GS_BINARY", "gs")
|
||||
|
||||
# Comment settings
|
||||
PAPERLESS_COMMENTS_ENABLED = __get_boolean("PAPERLESS_COMMENTS_ENABLED", "NO")
|
||||
|
||||
# allowed environments for frontend
|
||||
PAPERLESS_DISABLED_FRONTEND_ENVIRONMENT_CHECK = __get_boolean("PAPERLESS_DISABLED_FRONTEND_ENVIRONMENT_CHECK", "NO")
|
||||
PAPERLESS_FRONTEND_ALLOWED_ENVIRONMENTS = [
|
||||
"PAPERLESS_COMMENTS_ENABLED"
|
||||
]
|
||||
|
||||
# Pre-2.x versions of Paperless stored your documents locally with GPG
|
||||
# encryption, but that is no longer the default. This behaviour is still
|
||||
# available, but it must be explicitly enabled by setting
|
||||
|
||||
Reference in New Issue
Block a user