« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/upd8.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-xsrc/upd8.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/upd8.js b/src/upd8.js
index b9e71784..b1ca3577 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -2566,7 +2566,10 @@ async function main() {
       timeStart: Date.now(),
     });
 
-    const fileSizePreloader = new FileSizePreloader();
+    const fileSizePreloader =
+      new FileSizePreloader({
+        prefix: mediaPath,
+      });
 
     const mediaFilePaths =
       await traverse(mediaPath, {