From 63818e0fa472851dabe678c6b44a9d6e8a307ce4 Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Wed, 2 Mar 2022 15:12:34 +0100 Subject: [PATCH] revert ocisConfig changes part 2 --- accounts/pkg/config/http.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/accounts/pkg/config/http.go b/accounts/pkg/config/http.go index 81971eba1..6a8828ea9 100644 --- a/accounts/pkg/config/http.go +++ b/accounts/pkg/config/http.go @@ -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"` }