From f7764b5a8d38c5a460a39e1a1f3a063a17025429 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 8 Feb 2025 20:27:33 +0100 Subject: [PATCH] Add a missing 'Traffic' in InformEnabale field --- web/entity/entity.go | 2 +- web/html/xui/settings.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/entity/entity.go b/web/entity/entity.go index 82cc3e24..10cadc65 100644 --- a/web/entity/entity.go +++ b/web/entity/entity.go @@ -47,7 +47,7 @@ type AllSetting struct { SubCertFile string `json:"subCertFile" form:"subCertFile"` SubKeyFile string `json:"subKeyFile" form:"subKeyFile"` SubUpdates int `json:"subUpdates" form:"subUpdates"` - ExternalInformEnable bool `json:"externalInformEnable" form:"externalInformEnable"` + ExternalInformEnable bool `json:"externalTrafficInformEnable" form:"externalTrafficInformEnable"` ExternalInformURI string `json:"externalTrafficInformURI" form:"externalTrafficInformURI"` SubEncrypt bool `json:"subEncrypt" form:"subEncrypt"` SubShowInfo bool `json:"subShowInfo" form:"subShowInfo"` diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html index 653a84a6..577d794b 100644 --- a/web/html/xui/settings.html +++ b/web/html/xui/settings.html @@ -278,7 +278,7 @@ - +