mirror of
https://github.com/zadam/trilium.git
synced 2026-02-18 12:26:57 +01:00
add a todo
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user