fix #22 (backend,frontend): the backend and frontend had whitelists that only included audio formats
This commit was merged in pull request #36.
This commit is contained in:
@@ -14,7 +14,8 @@ router = APIRouter(prefix="/api", tags=["upload"])
|
||||
|
||||
ALLOWED_EXTENSIONS = {
|
||||
".mp3", ".flac", ".wav", ".m4a", ".ogg", ".opus",
|
||||
".aac", ".wma", ".aiff", ".alac", ".ac3"
|
||||
".aac", ".wma", ".aiff", ".alac", ".ac3",
|
||||
".mp4", ".mkv", ".webm",
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user