diff --git a/apps/server/src/services/export/zip/share_theme.ts b/apps/server/src/services/export/zip/share_theme.ts index 44571dbd7..7775b52d6 100644 --- a/apps/server/src/services/export/zip/share_theme.ts +++ b/apps/server/src/services/export/zip/share_theme.ts @@ -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"; }