From 0f4f60f978c2f7a9c7e7f4562b1e0284ee64fb54 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Fri, 20 Sep 2024 13:57:54 +0100 Subject: [PATCH] Fix load wiki folder command --- .../multiwikiserver/modules/commands/mws-load-wiki-folder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/tiddlywiki/multiwikiserver/modules/commands/mws-load-wiki-folder.js b/plugins/tiddlywiki/multiwikiserver/modules/commands/mws-load-wiki-folder.js index 9a88b03b2..bdc7229e5 100644 --- a/plugins/tiddlywiki/multiwikiserver/modules/commands/mws-load-wiki-folder.js +++ b/plugins/tiddlywiki/multiwikiserver/modules/commands/mws-load-wiki-folder.js @@ -84,7 +84,7 @@ function loadWikiFolder(options) { // Create the recipe recipeList.push(options.bagName); $tw.mws.store.createRecipe(options.recipeName,recipeList,options.recipeDescription); - $tw.mws.store.saveTiddlersFromPath(path.resolve($tw.boot.corePath,$tw.config.editionsPath,options.wikiPath,$tw.config.wikiTiddlersSubDir),options.bagName); + $tw.mws.store.saveTiddlersFromPath(path.resolve(options.wikiPath,$tw.config.wikiTiddlersSubDir),options.bagName); } }