From 3b7d0c42f1d06d45078a9a04ef7dac718a7e91ad Mon Sep 17 00:00:00 2001 From: yangjianbo Date: Mon, 5 Jan 2026 17:24:37 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=A0=BC=E5=BC=8F):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=20config.go=20=E4=BB=A3=E7=A0=81=E6=A0=BC=E5=BC=8F=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复 golangci-lint gofmt 检查失败,移除 AllowInsecureHTTP 字段后多余的空格。 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- backend/internal/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/internal/config/config.go b/backend/internal/config/config.go index 1ddb375a..6886d84e 100644 --- a/backend/internal/config/config.go +++ b/backend/internal/config/config.go @@ -132,7 +132,7 @@ type URLAllowlistConfig struct { CRSHosts []string `mapstructure:"crs_hosts"` AllowPrivateHosts bool `mapstructure:"allow_private_hosts"` // 关闭 URL 白名单校验时,是否允许 http URL(默认只允许 https) - AllowInsecureHTTP bool `mapstructure:"allow_insecure_http"` + AllowInsecureHTTP bool `mapstructure:"allow_insecure_http"` } type ResponseHeaderConfig struct {