update
This commit is contained in:
@@ -76,3 +76,9 @@ update_acme_domain(){
|
||||
local DOMAIN="${2}" # 域名
|
||||
modify_json_file "$CONFIG_FILE" ".inbounds[0].tls.acme.domain[0]" "$DOMAIN"
|
||||
}
|
||||
|
||||
update_server_name(){
|
||||
local CONFIG_FILE="${1}" # 配置文件
|
||||
local DOMAIN="${2}" # 域名
|
||||
modify_json_file "$CONFIG_FILE" ".inbounds[0].tls.server_name" "$DOMAIN"
|
||||
}
|
||||
Reference in New Issue
Block a user