revert ocisConfig changes part 2

This commit is contained in:
Willy Kloucek
2022-03-02 15:12:34 +01:00
parent 15e1139b8d
commit 63818e0fa4
+4 -4
View File
@@ -11,8 +11,8 @@ type HTTP struct {
// CORS defines the available cors configuration.
type CORS struct {
AllowedOrigins []string
AllowedMethods []string
AllowedHeaders []string
AllowCredentials bool
AllowedOrigins []string `ocisConfig:"allowed_origins"`
AllowedMethods []string `ocisConfig:"allowed_methods"`
AllowedHeaders []string `ocisConfig:"allowed_headers"`
AllowCredentials bool `ocisConfig:"allowed_credentials"`
}