mirror of
https://github.com/zadam/trilium.git
synced 2025-11-26 02:24:23 +01:00
chore(server/mime): remove mp4 workaround
Some checks failed
Checks / main (push) Has been cancelled
Some checks failed
Checks / main (push) Has been cancelled
This commit is contained in:
parent
a8e9f7b445
commit
d751966078
@ -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 */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user