From c503c590d954eb9dd5ebe8cd744c1e8c045e9049 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sat, 25 Dec 2021 23:23:56 -0800 Subject: [PATCH] Fix creation of url path for public image loading --- packages/mindplot/src/indexLoader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mindplot/src/indexLoader.js b/packages/mindplot/src/indexLoader.js index b46c1dfd..c14aaf77 100644 --- a/packages/mindplot/src/indexLoader.js +++ b/packages/mindplot/src/indexLoader.js @@ -45,7 +45,7 @@ if (!global.memoryPersistence && !global.readOnly) { session: global.lockSession, }); } else { - persistence = new LocalStorageManager(`/c/restful/maps/{id}/${global.historyId ? `${global.historyId}/` : ''}${!global.isAuth ? '-pub' : ''}`, true); + persistence = new LocalStorageManager(`/c/restful/maps/{id}/${global.historyId ? `${global.historyId}/` : ''}document/xml${!global.isAuth ? '-pub' : ''}`, true); } const options = buildOptions({