Update config.go

This commit is contained in:
公明 2025-02-19 15:00:19 +08:00 committed by GitHub
parent 1560e3dd71
commit 37e7fd2105
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,3 +31,14 @@ var suffixes = []string{
// 特殊用途文件
".gitignore", ".lock", ".bak",
} //这些后缀不扫
var allowedRespHeaders = []string{
"image/png",
"text/html",
"application/pdf",
"text/css",
"audio/mpeg",
"audio/wav",
"video/mp4",
"application/grpc",
} // 这些响应头不扫