更新默认配置文件 URL

This commit is contained in:
chunyu 2025-03-12 18:01:36 +08:00
parent 302246d3ac
commit b9a465f14c
2 changed files with 2 additions and 2 deletions

View File

@ -236,7 +236,7 @@ setup_update_script() {
# 下载配置文件
download_config() {
DEFAULT_CONFIG_URL="https://sub.aaa.team/config-66ca38b4bd8d"
DEFAULT_CONFIG_URL="https://sub.aaa.team/config-route-default"
log "INFO" "请输入配置文件 URL回车使用默认: $DEFAULT_CONFIG_URL: "
read CONFIG_URL
[ -z "$CONFIG_URL" ] && CONFIG_URL="$DEFAULT_CONFIG_URL" && log "INFO" "使用默认配置文件: $CONFIG_URL"

View File

@ -1,7 +1,7 @@
#!/bin/bash
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
# 定义变量
REMOTE_URL="https://sub.aaa.team/config-66ca38b4bd8d"
REMOTE_URL="https://sub.aaa.team/config-route-default"
LOCAL_CONFIG="/etc/sing-box/config.json"
TEMP_CONFIG="/tmp/sing-box-config.json.new"
LOG_FILE="/var/log/sing-box-config-update.log"