mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-12-20 06:18:56 +08:00
chore: Correct typo in redirect text
This commit is contained in:
parent
3f48bdb216
commit
cee9d7ffb0
4 changed files with 4 additions and 4 deletions
|
|
@ -672,7 +672,7 @@ func (b *BaseApi) UpdateAntiLeech(c *gin.Context) {
|
||||||
// @Security ApiKeyAuth
|
// @Security ApiKeyAuth
|
||||||
// @Security Timestamp
|
// @Security Timestamp
|
||||||
// @Router /websites/redirect/update [post]
|
// @Router /websites/redirect/update [post]
|
||||||
// @x-panel-log {"bodyKeys":["websiteID"],"paramKeys":[],"BeforeFunctions":[{"input_column":"id","input_value":"websiteID","isList":false,"db":"websites","output_column":"primary_domain","output_value":"domain"}],"formatZH":"修改网站 [domain] 重定向理配置 ","formatEN":"Update domain [domain] redirect config"}
|
// @x-panel-log {"bodyKeys":["websiteID"],"paramKeys":[],"BeforeFunctions":[{"input_column":"id","input_value":"websiteID","isList":false,"db":"websites","output_column":"primary_domain","output_value":"domain"}],"formatZH":"修改网站 [domain] 重定向配置 ","formatEN":"Update domain [domain] redirect config"}
|
||||||
func (b *BaseApi) UpdateRedirectConfig(c *gin.Context) {
|
func (b *BaseApi) UpdateRedirectConfig(c *gin.Context) {
|
||||||
var req request.NginxRedirectReq
|
var req request.NginxRedirectReq
|
||||||
if err := helper.CheckBindAndValidate(&req, c); err != nil {
|
if err := helper.CheckBindAndValidate(&req, c); err != nil {
|
||||||
|
|
|
||||||
|
|
@ -19963,7 +19963,7 @@ const docTemplate = `{
|
||||||
"websiteID"
|
"websiteID"
|
||||||
],
|
],
|
||||||
"formatEN": "Update domain [domain] redirect config",
|
"formatEN": "Update domain [domain] redirect config",
|
||||||
"formatZH": "修改网站 [domain] 重定向理配置 ",
|
"formatZH": "修改网站 [domain] 重定向配置 ",
|
||||||
"paramKeys": []
|
"paramKeys": []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -19959,7 +19959,7 @@
|
||||||
"websiteID"
|
"websiteID"
|
||||||
],
|
],
|
||||||
"formatEN": "Update domain [domain] redirect config",
|
"formatEN": "Update domain [domain] redirect config",
|
||||||
"formatZH": "修改网站 [domain] 重定向理配置 ",
|
"formatZH": "修改网站 [domain] 重定向配置 ",
|
||||||
"paramKeys": []
|
"paramKeys": []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2894,7 +2894,7 @@
|
||||||
"output_value": "domain"
|
"output_value": "domain"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"formatZH": "修改网站[domain]重定向理配置",
|
"formatZH": "修改网站[domain]重定向配置",
|
||||||
"formatEN": "Updatedomain[domain]redirectconfig"
|
"formatEN": "Updatedomain[domain]redirectconfig"
|
||||||
},
|
},
|
||||||
"/websites/rewrite/update": {
|
"/websites/rewrite/update": {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue