chore(server): address requested changes

This commit is contained in:
Elian Doran
2025-10-28 15:44:00 +02:00
parent 17319d25e8
commit dd5b3a3c1c
3 changed files with 1 additions and 10 deletions

View File

@@ -100,13 +100,6 @@ export default class ShareThemeExportProvider extends ZipExportProvider {
}
function getShareThemeAssets(nameWithExtension: string) {
// Rename share.css to style.css.
if (nameWithExtension === "style.css") {
nameWithExtension = "share.css";
} else if (nameWithExtension === "script.js") {
nameWithExtension = "share.js";
}
let path: string | undefined;
if (nameWithExtension === "icon-color.svg") {
path = join(RESOURCE_DIR, "images", nameWithExtension);