mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-19 07:15:48 +00:00
Add encrypt subscription ON/OFF switch
This commit is contained in:
@@ -64,6 +64,7 @@ func (a *SettingController) getDefaultSettings(c *gin.Context) {
|
||||
"subDomain": func() (interface{}, error) { return a.settingService.GetSubDomain() },
|
||||
"subKeyFile": func() (interface{}, error) { return a.settingService.GetSubKeyFile() },
|
||||
"subCertFile": func() (interface{}, error) { return a.settingService.GetSubCertFile() },
|
||||
"subEncrypt": func() (interface{}, error) { return a.settingService.GetSubEncrypt() },
|
||||
}
|
||||
|
||||
result := make(map[string]interface{})
|
||||
|
||||
Reference in New Issue
Block a user