fix permission issue on docker

This commit is contained in:
2025-06-04 10:45:14 +02:00
parent b580bb2db3
commit 7f97d90f04
2 changed files with 4 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ from utils import log_event, create_notification, get_unread_count
room_files_bp = Blueprint('room_files', __name__, url_prefix='/api/rooms')
# Root directory for storing room files
DATA_ROOT = '/data/rooms' # This should be a Docker volume
DATA_ROOT = '/app/uploads/rooms' # Updated to match Docker volume mount point
# Set of allowed file extensions for upload
ALLOWED_EXTENSIONS = {