mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
Fix formatting for adding ETag for exposed headers (#1687)
This commit is contained in:
parent
404364ba73
commit
a4fef436c8
@ -198,6 +198,7 @@ func setCorsHandler(h http.Handler) http.Handler {
|
||||
AllowedOrigins: []string{"*"},
|
||||
AllowedMethods: []string{"GET", "HEAD", "POST", "PUT"},
|
||||
AllowedHeaders: []string{"*"},
|
||||
ExposedHeaders: []string{"ETag"},
|
||||
})
|
||||
return c.Handler(h)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user