chore(server/mime): remove mp4 workaround
Some checks failed
Checks / main (push) Has been cancelled

This commit is contained in:
Elian Doran 2025-11-22 09:10:41 +02:00
parent a8e9f7b445
commit d751966078
No known key found for this signature in database

View File

@ -73,8 +73,7 @@ const EXTENSION_TO_MIME = new Map<string, string>([
[".ts", "text/x-typescript"],
[".excalidraw", "application/json"],
[".mermaid", "text/vnd.mermaid"],
[".mmd", "text/vnd.mermaid"],
[".mp4", "video/mp4"] // https://github.com/jshttp/mime-types/issues/138
[".mmd", "text/vnd.mermaid"]
]);
/** @returns false if MIME is not detected */