fix(格式): 修复 config.go 代码格式问题
修复 golangci-lint gofmt 检查失败,移除 AllowInsecureHTTP 字段后多余的空格。 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -132,7 +132,7 @@ type URLAllowlistConfig struct {
|
|||||||
CRSHosts []string `mapstructure:"crs_hosts"`
|
CRSHosts []string `mapstructure:"crs_hosts"`
|
||||||
AllowPrivateHosts bool `mapstructure:"allow_private_hosts"`
|
AllowPrivateHosts bool `mapstructure:"allow_private_hosts"`
|
||||||
// 关闭 URL 白名单校验时,是否允许 http URL(默认只允许 https)
|
// 关闭 URL 白名单校验时,是否允许 http URL(默认只允许 https)
|
||||||
AllowInsecureHTTP bool `mapstructure:"allow_insecure_http"`
|
AllowInsecureHTTP bool `mapstructure:"allow_insecure_http"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResponseHeaderConfig struct {
|
type ResponseHeaderConfig struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user