1
0
mirror of https://github.com/etesync/server synced 2024-11-22 08:48:07 +00:00

Fix import of sendfile backend due to python package changes.

Broke in c7d1de31a1.
This commit is contained in:
Tom Hacohen 2022-06-04 18:05:13 +03:00
parent 79cef79c52
commit 3a4da142dc

View File

@ -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" ETEBASE_CREATE_USER_FUNC = "etebase_server.django.utils.create_user_blocked"
# Efficient file streaming (for large files) # 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 SENDFILE_ROOT = MEDIA_ROOT
# Make an `etebase_server_settings` module available to override settings. # Make an `etebase_server_settings` module available to override settings.