mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-14 18:46:52 +01:00
Fix: remove deprecated debug x-frame-options
This commit is contained in:
parent
b0390a92ea
commit
4ef5fbfb6e
2 changed files with 1 additions and 5 deletions
|
|
@ -549,10 +549,6 @@ def _parse_remote_user_settings() -> str:
|
|||
|
||||
HTTP_REMOTE_USER_HEADER_NAME = _parse_remote_user_settings()
|
||||
|
||||
# X-Frame options for embedded PDF display:
|
||||
X_FRAME_OPTIONS = "ANY" if DEBUG else "SAMEORIGIN"
|
||||
|
||||
|
||||
# The next 3 settings can also be set using just PAPERLESS_URL
|
||||
CSRF_TRUSTED_ORIGINS = __get_list("PAPERLESS_CSRF_TRUSTED_ORIGINS")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue