diff --git a/pkg/conf/defaults.go b/pkg/conf/defaults.go index d930c97809..b39329c98e 100644 --- a/pkg/conf/defaults.go +++ b/pkg/conf/defaults.go @@ -44,7 +44,7 @@ var CaptchaConfig = &captcha{ var CORSConfig = &cors{ AllowOrigins: []string{"UNSET"}, AllowMethods: []string{"PUT", "POST", "GET", "OPTIONS"}, - AllowHeaders: []string{"Cookie", "X-Cr-Policy", "Authorization", "Content-Length", "Content-Type", "X-Path", "X-FileName"}, + AllowHeaders: []string{"Cookie", "X-Cr-Policy", "Authorization", "Content-Length", "Content-Type", "X-Cr-Path", "X-Cr-FileName"}, AllowCredentials: false, ExposeHeaders: nil, }