mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-11 00:57:09 +01:00
add FORCE_SCRIPT_NAME setting
This commit is contained in:
parent
22acc51284
commit
6f5c1ac4e1
1 changed files with 5 additions and 1 deletions
|
|
@ -47,6 +47,10 @@ _allowed_hosts = os.getenv("PAPERLESS_ALLOWED_HOSTS")
|
||||||
if _allowed_hosts:
|
if _allowed_hosts:
|
||||||
ALLOWED_HOSTS = _allowed_hosts.split(",")
|
ALLOWED_HOSTS = _allowed_hosts.split(",")
|
||||||
|
|
||||||
|
FORCE_SCRIPT_NAME = None
|
||||||
|
_force_script_name = os.getenv("PAPERLESS_FORCE_SCRIPT_NAME")
|
||||||
|
if _force_script_name:
|
||||||
|
FORCE_SCRIPT_NAME = _force_script_name
|
||||||
|
|
||||||
# Application definition
|
# Application definition
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue