Modify: auth instance as first param in SignURI/Request

This commit is contained in:
HFO4
2019-12-29 13:50:23 +08:00
parent b5ee3ee609
commit de4793aacb
7 changed files with 31 additions and 27 deletions

View File

@@ -41,7 +41,7 @@ var CORSConfig = &cors{
AllowOrigins: []string{"UNSET"},
AllowMethods: []string{"PUT", "POST", "GET", "OPTIONS"},
AllowHeaders: []string{"Cookie", "Content-Length", "Content-Type", "X-Path", "X-FileName"},
AllowCredentials: true,
AllowCredentials: false,
ExposeHeaders: nil,
}