From 90bf877a73fe5b8bfe9b7653b138f8a0c9c696ee Mon Sep 17 00:00:00 2001 From: Whispering Wind <151555003+ReturnFI@users.noreply.github.com> Date: Sun, 24 Aug 2025 21:12:16 +0330 Subject: [PATCH] Remove timeout --- config.json | 3 +-- upgrade.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/config.json b/config.json index b11cc8c..c4240c6 100644 --- a/config.json +++ b/config.json @@ -15,8 +15,7 @@ "auth": { "type": "http", "http": { - "url": "http://127.0.0.1:28262/auth", - "timeout": "5s" + "url": "http://127.0.0.1:28262/auth" } }, "quic": { diff --git a/upgrade.sh b/upgrade.sh index 3d61154..848759c 100644 --- a/upgrade.sh +++ b/upgrade.sh @@ -110,7 +110,7 @@ done # ========== Update Configuration ========== info "Updating Hysteria configuration for HTTP authentication..." -auth_block='{"type": "http", "http": {"url": "http://127.0.0.1:28262/auth", "timeout": "5s"}}' +auth_block='{"type": "http", "http": {"url": "http://127.0.0.1:28262/auth"}}' if [[ -f "$HYSTERIA_INSTALL_DIR/config.json" ]]; then jq --argjson auth_block "$auth_block" '.auth = $auth_block' "$HYSTERIA_INSTALL_DIR/config.json" > "$HYSTERIA_INSTALL_DIR/config.json.tmp" && mv "$HYSTERIA_INSTALL_DIR/config.json.tmp" "$HYSTERIA_INSTALL_DIR/config.json" success "config.json updated to use auth server."