Fix import of sendfile backend due to python package changes.

Broke in c7d1de31a1.
master
Tom Hacohen 2 years ago
parent 79cef79c52
commit 3a4da142dc

@ -171,7 +171,7 @@ if any(os.path.isfile(x) for x in config_locations):
ETEBASE_CREATE_USER_FUNC = "etebase_server.django.utils.create_user_blocked"
# Efficient file streaming (for large files)
SENDFILE_BACKEND = "etebase_fastapi.sendfile.backends.simple"
SENDFILE_BACKEND = "etebase_server.fastapi.sendfile.backends.simple"
SENDFILE_ROOT = MEDIA_ROOT
# Make an `etebase_server_settings` module available to override settings.

Loading…
Cancel
Save