Skip to content

Commit d81e758

Browse files
authored
fix: missing cors header (#1132)
1 parent d963e02 commit d81e758

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/api/router.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ func NewRouter(
5252
return true
5353
},
5454
AllowCredentials: true,
55+
ExposedHeaders: []string{"Count"},
5556
}).Handler,
5657
common.LogID(),
5758
middleware.RequestLogger(api.NewLogFormatter()),

0 commit comments

Comments
 (0)