change clash-api-secret to web-secret

This commit is contained in:
Hiddify
2024-03-24 17:24:58 +03:30
parent bc39f82659
commit 8f0d747d6f
2 changed files with 2 additions and 2 deletions

View File

@@ -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"`

View File

@@ -1,5 +1,5 @@
{
"clash-api-secret": "your-hidden-secret",
"web-secret": "your-hidden-secret",
"enable-tun": true,
"mixed-port": 2334,
"tproxy-port": 2335,