mirror of
https://github.com/zadam/trilium.git
synced 2026-01-06 14:44:25 +01:00
add a todo
This commit is contained in:
parent
94d1181fe8
commit
afcd23cb99
@ -116,6 +116,7 @@ export default class ShareThemeExportProvider extends ZipExportProvider {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: Should we allow mime to also include backend, i.e loosely check that it starts with application/javascript and ignore the rest?
|
||||||
if (type === "code" && mime === "application/javascript;env=frontend"){
|
if (type === "code" && mime === "application/javascript;env=frontend"){
|
||||||
return "js";
|
return "js";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user