From 69b6aee2dff0d3b4c243ae86cb914dab73c9fcc7 Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 1 Nov 2022 14:55:13 +0100 Subject: [PATCH] hide newindex.html from API PUBLIC DATA --- ASTROBOT/VOEUX.refresh.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ASTROBOT/VOEUX.refresh.sh b/ASTROBOT/VOEUX.refresh.sh index 785df340..f64bc47a 100755 --- a/ASTROBOT/VOEUX.refresh.sh +++ b/ASTROBOT/VOEUX.refresh.sh @@ -98,13 +98,13 @@ do tiddlywiki --load $INDEX \ --import "$HOME/.zen/tmp/${IPFSNODEID}/g1voeu/${ASTRONAUTENS}/${WISHNAME}/${PLAYER}.tiddlers.json" "application/json" \ - --output ~/.zen/tmp/${IPFSNODEID}/g1voeu/${ASTRONAUTENS} --render "$:/core/save/all" "newindex.html" "text/plain" + --output ~/.zen/tmp --render "$:/core/save/all" "${ASTRONAUTENS}.newindex.html" "text/plain" - if [[ -s ~/.zen/tmp/${IPFSNODEID}/g1voeu/${ASTRONAUTENS}/newindex.html ]]; then + if [[ -s ~/.zen/tmp/${ASTRONAUTENS}.newindex.html ]]; then echo "Updating $INDEX" - cp ~/.zen/tmp/${IPFSNODEID}/g1voeu/${ASTRONAUTENS}/newindex.html $INDEX + cp ~/.zen/tmp/${ASTRONAUTENS}.newindex.html $INDEX else - echo "Problem with tiddlywiki command. Missing ~/.zen/tmp/${IPFSNODEID}/g1voeu/${ASTRONAUTENS}/${WISHNAME}/${WISH}/newindex.html" + echo "Problem with tiddlywiki command. Missing ~/.zen/tmp/${ASTRONAUTENS}.newindex.html" echo "XXXXXXXXXXXXXXXXXXXXXXX" fi