mirror of
https://github.com/zadam/trilium.git
synced 2025-12-15 12:49:53 +01:00
chore(server/mime): remove mp4 workaround
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user