From e04efcade41c343ea716a898ab3e9a6026c9c73c Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Sat, 24 Dec 2022 05:58:38 +0100 Subject: [PATCH] added CORS dev config --- consul/discovery.go | 1 + 1 file changed, 1 insertion(+) diff --git a/consul/discovery.go b/consul/discovery.go index 8d9b7f2..cb512ca 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -150,6 +150,7 @@ func (s *Service) getTags() []string { "traefik.http.middlewares.requestid.plugin.requestid.headerName=X-Request-ID", "traefik.http.middlewares.cors.headers.accesscontrolallowmethods=*", "traefik.http.middlewares.cors.headers.accesscontrolalloworiginlist=*", + "traefik.http.middlewares.cors.headers.accessControlExposeHeaders=true", "traefik.http.middlewares.cors.headers.accesscontrolmaxage=100", "traefik.http.middlewares.cors.headers.addvaryheader=true", "traefik.tls.certificates.certfile=/certs/client.cert",