From 007701ad0b3d0b6255232c9ec04a356c3996ea5e Mon Sep 17 00:00:00 2001 From: Stefan Adelbert Date: Tue, 11 Jun 2024 10:41:21 +1000 Subject: [PATCH] nfpm: Made 'reserved-public' the default mode; Fixed some typos; --- nfpm/zrok-share.bash | 4 ++-- nfpm/zrok-share.env | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nfpm/zrok-share.bash b/nfpm/zrok-share.bash index ec7ed03e..d0ffbdfe 100644 --- a/nfpm/zrok-share.bash +++ b/nfpm/zrok-share.bash @@ -54,8 +54,8 @@ fi exit 1 } -# default mode is 'temp-public' (unreserved), override modes are temp-private, reserver-public, reserved-private. -: "${ZROK_FRONTEND_MODE:-temp-public}" +# default mode is 'reserved-public', override modes are reserved-private, temp-public, temp-private. +: "${ZROK_FRONTEND_MODE:-reserved-public}" if [[ "${ZROK_FRONTEND_MODE:-}" == temp-public ]]; then ZROK_CMD="share public --headless ${ZROK_VERBOSE:-}" elif [[ "${ZROK_FRONTEND_MODE:-}" == temp-private ]]; then diff --git a/nfpm/zrok-share.env b/nfpm/zrok-share.env index 9bb31514..3e7605b8 100644 --- a/nfpm/zrok-share.env +++ b/nfpm/zrok-share.env @@ -87,6 +87,6 @@ ZROK_SHARE_OPTS="" # WARNING: changes take effect the next time the frontend URL is reserved #ZROK_FRONTENDS="public" -# you MAY set to change the frontend mode: temp-public (default), temp-private, reserved-public, reserved-private +# you MAY set to change the frontend mode: reserved-public (default), reserved-private, temp-public, temp-private # WARNING: changes take effect the next time the frontend URL is reserved -#ZROK_FRONTEND_MODE="temp-public" +#ZROK_FRONTEND_MODE="reserved-public"