« get me outta code hell

urls, write: integrate separate media cache - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/url-spec.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-10-29 15:28:20 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-10-29 15:43:30 -0300
commit08da5be83b7fe7f67ce861fa311ce9b32bb22f55 (patch)
tree63c14a48c56909e1b34ed91ed4d6273799a958b8 /src/url-spec.js
parent1a92f5e8198e5d1a56d0d9f7272f731f4e98bfce (diff)
urls, write: integrate separate media cache
Diffstat (limited to 'src/url-spec.js')
-rw-r--r--src/url-spec.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/url-spec.js b/src/url-spec.js
index 2ff0fa5..699f2be 100644
--- a/src/url-spec.js
+++ b/src/url-spec.js
@@ -79,12 +79,25 @@ const urlSpec = {
       albumCover: 'album-art/<>/cover.<>',
       albumWallpaper: 'album-art/<>/bg.<>',
       albumBanner: 'album-art/<>/banner.<>',
+
       trackCover: 'album-art/<>/<>.<>',
+
       artistAvatar: 'artist-avatar/<>.<>',
+
       flashArt: 'flash-art/<>.<>',
+
       albumAdditionalFile: 'album-additional/<>/<>',
     },
   },
+
+  thumb: {
+    prefix: 'thumb/',
+
+    paths: {
+      root: '',
+      path: '<>',
+    },
+  },
 };
 
 // This gets automatically switched in place when working from a baseDirectory,