Skip to content

Commit 07a1fce

Browse files
Do not overwrite all cors headers (#114)
1 parent 71f294d commit 07a1fce

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

pkg/common/cors.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ func ReplaceCORSHeaders(resp *http.Response) {
3030
resp.Header.Del("Access-Control-Allow-Origin")
3131
resp.Header.Del("Access-Control-Allow-Methods")
3232
resp.Header.Del("Access-Control-Allow-Headers")
33-
resp.Header.Del("Access-Control-Allow-Credentials")
34-
resp.Header.Del("Access-Control-Expose-Headers")
35-
resp.Header.Del("Access-Control-Max-Age")
3633

3734
if len(corsConfig.AllowOrigins) > 0 {
3835
if len(corsConfig.AllowOrigins) == 1 && corsConfig.AllowOrigins[0] == "*" {

pkg/version/.version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"version": "1.1.5",
2+
"version": "1.1.6",
33
"service": "validator"
44
}

0 commit comments

Comments
 (0)