« get me outta code hell

content, url-spec: use static rather than shared, drop cachebust - 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>2024-05-21 08:01:14 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-21 08:01:41 -0300
commitdc318c6db0b92510e8297739f4f6999f24859215 (patch)
tree4982ed4db6512872ac4b59365f1f52301b742f09 /src/url-spec.js
parent5c973b488c58a836082d8ae5e48ff42e830d7661 (diff)
content, url-spec: use static rather than shared, drop cachebust
Diffstat (limited to 'src/url-spec.js')
-rw-r--r--src/url-spec.js18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/url-spec.js b/src/url-spec.js
index ec971c0c..cafcb0a6 100644
--- a/src/url-spec.js
+++ b/src/url-spec.js
@@ -63,17 +63,7 @@ const urlSpec = {
   },
 
   shared: {
-    paths: {
-      ...genericPaths,
-
-      utilityRoot: 'util',
-      staticRoot: 'static',
-
-      utilityFile: 'util/<>',
-      staticFile: 'static/<>?<>',
-
-      staticIcon: 'static/icons.svg#icon-<>',
-    },
+    paths: genericPaths,
   },
 
   media: {
@@ -102,7 +92,11 @@ const urlSpec = {
 
   static: {
     prefix: 'static/',
-    paths: genericPaths,
+    paths: {
+      ...genericPaths,
+
+      icon: 'icons.svg#icon-<>',
+    },
   },
 
   util: {