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

@@ -346,7 +346,7 @@ def delete_room(room_id):
print(f"Attempting to delete room {room_id} ({room_name})")
# Delete physical files
room_dir = os.path.join('/data/rooms', str(room_id))
room_dir = os.path.join('/app/uploads/rooms', str(room_id))
if os.path.exists(room_dir):
shutil.rmtree(room_dir)
print(f"Deleted room directory: {room_dir}")