« get me outta code hell

write: pagePathStringFromRoot - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/write/build-modes/live-dev-server.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-09-11 20:11:57 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-09-11 20:24:05 -0300
commita28798293daaec40df392fe8f246e98a066f94a4 (patch)
tree03ca88a0d5ec52409a3edaa4d1312acf9c1c6c7b /src/write/build-modes/live-dev-server.js
parent2da0d55d67c099defa7058dcb558f6ea7e0d2651 (diff)
write: pagePathStringFromRoot
Diffstat (limited to 'src/write/build-modes/live-dev-server.js')
-rw-r--r--src/write/build-modes/live-dev-server.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/write/build-modes/live-dev-server.js b/src/write/build-modes/live-dev-server.js
index b018bc1c..389f5f4c 100644
--- a/src/write/build-modes/live-dev-server.js
+++ b/src/write/build-modes/live-dev-server.js
@@ -405,6 +405,7 @@ export async function go({
         languages,
         missingImagePaths,
         pagePath: servePath,
+        pagePathStringFromRoot: pathname.replace(/^\//, ''),
         thumbsCache,
         to,
         urls,