docker upload directories fixes

This commit is contained in:
2025-06-06 10:12:46 +02:00
parent e4238d9fdb
commit d619283d09
16 changed files with 62 additions and 23 deletions

View File

@@ -20,7 +20,7 @@ def cleanup_trash():
try:
# Delete the file from storage if it's a file
if file.type == 'file':
file_path = os.path.join('/data/rooms', str(file.room_id), file.path, file.name)
file_path = os.path.join('/app/uploads/rooms', str(file.room_id), file.path, file.name)
if os.path.exists(file_path):
os.remove(file_path)