Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanil S. <135337715+sh1shd@users.noreply.github.com>2026-01-27 01:06:01 +0300
committerGitHub <noreply@github.com>2026-01-27 01:06:01 +0300
commitfd5f5917378129d7a555a246d42a2a572476b948 (patch)
treef155bce5721c3d52840548192e3c683bbd193451 /web/entity/entity.go
parent8a4c9a98cbf8efce7c2efd1e3daa4c996830b30c (diff)
feat: more subscription information fields (#3701)
* feat: more subscription information fields * fix: incorrect translation * feat: implement field for Happ custom routing rules
Diffstat (limited to 'web/entity/entity.go')
-rw-r--r--web/entity/entity.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/web/entity/entity.go b/web/entity/entity.go
index 42e2df85..40294925 100644
--- a/web/entity/entity.go
+++ b/web/entity/entity.go
@@ -57,6 +57,11 @@ type AllSetting struct {
SubEnable bool `json:"subEnable" form:"subEnable"` // Enable subscription server
SubJsonEnable bool `json:"subJsonEnable" form:"subJsonEnable"` // Enable JSON subscription endpoint
SubTitle string `json:"subTitle" form:"subTitle"` // Subscription title
+ SubSupportUrl string `json:"subSupportUrl" form:"subSupportUrl"` // Subscription support URL
+ SubProfileUrl string `json:"subProfileUrl" form:"subProfileUrl"` // Subscription profile URL
+ SubAnnounce string `json:"subAnnounce" form:"subAnnounce"` // Subscription announce
+ SubEnableRouting bool `json:"subEnableRouting" form:"subEnableRouting"` // Enable routing for subscription
+ SubRoutingRules string `json:"subRoutingRules" form:"subRoutingRules"` // Subscription global routing rules (Only for Happ)
SubListen string `json:"subListen" form:"subListen"` // Subscription server listen IP
SubPort int `json:"subPort" form:"subPort"` // Subscription server port
SubPath string `json:"subPath" form:"subPath"` // Base path for subscription URLs