jack 6 giorni fa
parent
commit
316a5d45c9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/services/file/impl/r2r_file.py

+ 1 - 1
app/services/file/impl/r2r_file.py

@@ -15,7 +15,7 @@ from app.services.file.impl.oss_file import OSSFileService
 # import asyncio
 from pathlib import Path
 
-allowed_formats = [".bmp", ".heic", ".jpeg", ".png", ".tiff"]
+allowed_formats = [".bmp", ".heic", ".jpeg", ".png", ".tiff", "mp3", ".mp4"]
 
 
 class R2RFileService(OSSFileService):