Skip to content

Commit

Permalink
services/horizon: expose date header
Browse files Browse the repository at this point in the history
closes #2315
  • Loading branch information
tomerweller committed Feb 25, 2020
1 parent aa4ec57 commit 6c52fa3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/horizon/internal/web.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ func (w *web) mustInstallMiddlewares(app *App, connTimeout time.Duration) {
c := cors.New(cors.Options{
AllowedOrigins: []string{"*"},
AllowedHeaders: []string{"*"},
ExposedHeaders: []string{"Date"},
})
r.Use(c.Handler)

Expand Down

0 comments on commit 6c52fa3

Please sign in to comment.