|
|
@ -44,7 +44,7 @@ var CaptchaConfig = &captcha{
|
|
|
|
var CORSConfig = &cors{
|
|
|
|
var CORSConfig = &cors{
|
|
|
|
AllowOrigins: []string{"UNSET"},
|
|
|
|
AllowOrigins: []string{"UNSET"},
|
|
|
|
AllowMethods: []string{"PUT", "POST", "GET", "OPTIONS"},
|
|
|
|
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,
|
|
|
|
AllowCredentials: false,
|
|
|
|
ExposeHeaders: nil,
|
|
|
|
ExposeHeaders: nil,
|
|
|
|
}
|
|
|
|
}
|
|
|
|