nfpm: Made 'reserved-public' the default mode; Fixed some typos;

This commit is contained in:
Stefan Adelbert 2024-06-11 10:41:21 +10:00 committed by Kenneth Bingham
parent e5479e84fe
commit 007701ad0b
No known key found for this signature in database
GPG Key ID: 31709281860130B6
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -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"