Update config.go

This commit is contained in:
公明 authored and GitHub committed 2025-02-19 15:00:19 +08:00
1 parent 1560e3dd71
commit 37e7fd2105
1 file changed
+11
+11
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",
} // 这些响应头不扫