Compare commits

...

2 Commits

Author SHA1 Message Date
WhitelightSEO e61af78eaa Merge pull request #14 from sigman78/sigman/fix-windows-path
fix: windows path issue
2026-02-22 13:10:20 +01:00
SiGMan afd2fbb745 fix: windows path 2026-02-19 20:17:48 -08:00
@@ -57,7 +57,7 @@ class AssetManager {
if (fileId.length > 200) return null;
const backup = this.backupPath;
const parts = fileId.split("/").filter(Boolean);
const parts = fileId.split("/").filter(Boolean).map((p) => this.windowsSanitize(p));
let dirPath;
let filePath;
@@ -75,9 +75,6 @@ class AssetManager {
}
}
dirPath = this.windowsSanitize(dirPath);
filePath = this.windowsSanitize(filePath);
return { dirPath, filePath };
}