Skip to content

Commit

Permalink
Merge pull request #132 from GeneriekPublicatiePlatformWoo/fix/add-se…
Browse files Browse the repository at this point in the history
…ndfile-settings

✨ Add sendfile settings
  • Loading branch information
sergei-maertens authored Nov 13, 2024
2 parents c1f435f + 3afaa7d commit 671066d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/woo_publications/conf/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,3 +183,10 @@
# ZGW-CONSUMERS
#
ZGW_CONSUMERS_IGNORE_OAS_FIELDS = True

#
# DJANGO-SENDFILE2
#
SENDFILE_BACKEND = config("SENDFILE_BACKEND", default="django_sendfile.backends.nginx")
SENDFILE_ROOT = PRIVATE_MEDIA_ROOT
SENDFILE_URL = PRIVATE_MEDIA_URL

0 comments on commit 671066d

Please sign in to comment.