mirror of
https://github.com/zadam/trilium.git
synced 2025-12-31 19:54: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;
|
||||
}
|
||||
|
||||
// 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"){
|
||||
return "js";
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user