Fix creation of url path for public image loading

This commit is contained in:
Paulo Gustavo Veiga 2021-12-25 23:23:56 -08:00
parent 819ce46025
commit c503c590d9

View File

@ -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({