mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Fix serving static files under root_path
This commit is contained in:
parent
13afd25690
commit
1c2f3cf9af
@ -148,7 +148,8 @@ LOGIN_URL = BASE_URL + "accounts/login/"
|
||||
WSGI_APPLICATION = 'paperless.wsgi.application'
|
||||
ASGI_APPLICATION = "paperless.asgi.application"
|
||||
|
||||
STATIC_URL = os.getenv("PAPERLESS_STATIC_URL", "static/")
|
||||
STATIC_URL = os.getenv("PAPERLESS_STATIC_URL", BASE_URL + "static/")
|
||||
WHITENOISE_STATIC_PREFIX = "/static/"
|
||||
|
||||
# TODO: what is this used for?
|
||||
TEMPLATES = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user