From 8f0d747d6f58dc016af637548723b4b0221811cd Mon Sep 17 00:00:00 2001 From: Hiddify Date: Sun, 24 Mar 2024 17:24:58 +0330 Subject: [PATCH] change clash-api-secret to web-secret --- config/option.go | 2 +- wrt/files/hiddify.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/option.go b/config/option.go index 4242681..08834f2 100644 --- a/config/option.go +++ b/config/option.go @@ -9,7 +9,7 @@ type ConfigOptions struct { LogLevel string `json:"log-level"` EnableClashApi bool `json:"enable-clash-api"` ClashApiPort uint16 `json:"clash-api-port"` - ClashApiSecret string `json:"clash-api-secret"` + ClashApiSecret string `json:"web-secret"` GeoIPPath string `json:"geoip-path"` GeoSitePath string `json:"geosite-path"` Rules []Rule `json:"rules"` diff --git a/wrt/files/hiddify.json b/wrt/files/hiddify.json index b7b0d37..e294f9c 100644 --- a/wrt/files/hiddify.json +++ b/wrt/files/hiddify.json @@ -1,5 +1,5 @@ { - "clash-api-secret": "your-hidden-secret", + "web-secret": "your-hidden-secret", "enable-tun": true, "mixed-port": 2334, "tproxy-port": 2335,