diff options
Diffstat (limited to 'sub/subController.go')
| -rw-r--r-- | sub/subController.go | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sub/subController.go b/sub/subController.go index 7653a4e1..53b5580b 100644 --- a/sub/subController.go +++ b/sub/subController.go @@ -3,8 +3,8 @@ package sub import ( "encoding/base64" "fmt" - "strings" "strconv" + "strings" "github.com/mhsanaei/3x-ui/v2/config" @@ -64,8 +64,8 @@ func NewSUBController( subEncrypt: encrypt, updateInterval: update, - subService: sub, - subJsonService: NewSubJsonService(jsonFragment, jsonNoise, jsonMux, jsonRules, sub), + subService: sub, + subJsonService: NewSubJsonService(jsonFragment, jsonNoise, jsonMux, jsonRules, sub), } a.initRouter(g) return a @@ -170,13 +170,13 @@ func (a *SUBController) subJsons(c *gin.Context) { // ApplyCommonHeaders sets common HTTP headers for subscription responses including user info, update interval, and profile title. func (a *SUBController) ApplyCommonHeaders( - c *gin.Context, - header, - updateInterval, - profileTitle string, + c *gin.Context, + header, + updateInterval, + profileTitle string, profileSupportUrl string, - profileUrl string, - profileAnnounce string, + profileUrl string, + profileAnnounce string, profileEnableRouting bool, profileRoutingRules string, ) { |
