« get me outta code hell

upd8, repl: perform web routes by default, expose in repl - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-05-29 19:37:14 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-29 19:40:10 -0300
commitd519c51332e25d8ccc9ac01048a3427b091849ac (patch)
tree2f6e8772bd8cc22093e911b36c9ea0b9c73829f8
parentd522ee47e95774453e6c5cffe821608e74a090ce (diff)
upd8, repl: perform web routes by default, expose in repl
-rwxr-xr-xsrc/upd8.js2
-rw-r--r--src/write/build-modes/repl.js2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/upd8.js b/src/upd8.js
index a5fb8ced..b583423d 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -709,7 +709,7 @@ async function main() {
     });
 
     fallbackStep('identifyWebRoutes', {
-      default: 'skip',
+      default: 'perform',
       buildConfig: 'webRoutes',
     });
 
diff --git a/src/write/build-modes/repl.js b/src/write/build-modes/repl.js
index b300e8e8..485b8155 100644
--- a/src/write/build-modes/repl.js
+++ b/src/write/build-modes/repl.js
@@ -51,6 +51,7 @@ export async function getContextAssignments({
   missingImagePaths,
   thumbsCache,
   urls,
+  webRoutes,
   wikiData,
 
   getSizeOfAdditionalFile,
@@ -78,6 +79,7 @@ export async function getContextAssignments({
     missingImagePaths,
     thumbsCache,
     urls,
+    webRoutes,
 
     wikiData,
     ...wikiData,