Commit 3b7d0c42 authored by yangjianbo's avatar yangjianbo
Browse files

fix(格式): 修复 config.go 代码格式问题

修复 golangci-lint gofmt 检查失败,移除 AllowInsecureHTTP 字段后多余的空格。

🤖 Generated with [Claude Code](https://claude.com/claude-code

)
Co-Authored-By: default avatarClaude Sonnet 4.5 <noreply@anthropic.com>
parent 6451b3cd
...@@ -132,7 +132,7 @@ type URLAllowlistConfig struct { ...@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment