From 94ee9dd562aa2fd7177ecb0fe796dbcdd7be6ecc Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 10 Sep 2023 02:17:20 +0200 Subject: [PATCH] this is it for tonight --- API/UPLANET.sh | 4 ++-- templates/register.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/API/UPLANET.sh b/API/UPLANET.sh index 547cf36f..ab32c8f6 100755 --- a/API/UPLANET.sh +++ b/API/UPLANET.sh @@ -122,8 +122,8 @@ if [[ "${EMAIL}" =~ ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$ ]]; then echo "VALID ${EMAIL} EMAIL OK" ################################################### ## GET NETWORK CACHE - 42s - UNLEASHED COMON BLOCKCHAIN - echo "ipfs --timeout 42s get -o ~/.zen/tmp/${MOATS}/ /ipns/${UMAPNS}/" - ipfs --timeout 42s get -o ~/.zen/tmp/${MOATS}/ /ipns/${UMAPNS}/ + echo "ipfs --timeout 26s get -o ~/.zen/tmp/${MOATS}/ /ipns/${UMAPNS}/" + ipfs --timeout 26s get -o ~/.zen/tmp/${MOATS}/ /ipns/${UMAPNS}/ ## CHECK if TW is HERE [[ -s ~/.zen/tmp/${MOATS}/TW/${EMAIL}/index.html ]] \ diff --git a/templates/register.html b/templates/register.html index 031a27c6..03cc11c6 100644 --- a/templates/register.html +++ b/templates/register.html @@ -176,7 +176,7 @@ document.addEventListener('DOMContentLoaded', function() { if (latElement && lonElement) { latElement.value = salt || '0.00'; // Default to '0.00' if lat is missing lonElement.value = pepper || '0.00'; // Default to '0.00' if lon is missing - uplanetElement.value = '@'; // Default to '0.00' if lon is missing + uplanetElement.value = uplanetElement || '@'; // Default to '0.00' if lon is missing } // Decalage de - 0.05° = MAP coord SW