fix: update oauth flag handling to support shorthand option

This commit is contained in:
2026-02-27 21:24:24 +01:00
parent 901477ef5a
commit f336039cd8

4
run.sh
View File

@@ -8,7 +8,7 @@ CONTAINER_ARGS=()
while [[ $# -gt 0 ]]; do
case "$1" in
--oauth)
-o|--oauth)
# OAuth support
case "$2" in
blob)
@@ -28,7 +28,7 @@ while [[ $# -gt 0 ]]; do
CONTAINER_ARGS+=("--oauth")
shift 2
;;
--ssl|--no-caddy)
--ssl|-s|--no-caddy|-n)
CONTAINER_ARGS+=("$1")
EXPOSED_PORTS=("-p" "10000:10000" "-p" "10001:10001" "-p" "10002:10002")
shift