Skip to content

Commit 5c783b3

Browse files
committed
fix for #691
1 parent 18d8ba8 commit 5c783b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -614,10 +614,10 @@ You can tune the middleware behavior using middleware specific configuration par
614614
- "firewall.reverseProxy": Set to "true" when a reverse proxy is used ("")
615615
- "firewall.allowedIpAddresses": List of IP addresses that are allowed to connect ("")
616616
- "cors.allowedOrigins": The origins allowed in the CORS headers ("*")
617-
- "cors.allowHeaders": The headers allowed in the CORS request ("Content-Type, X-XSRF-TOKEN")
617+
- "cors.allowHeaders": The headers allowed in the CORS request ("Content-Type, X-XSRF-TOKEN, X-Authorization, X-Debug-Info, X-Exception-Name, X-Exception-Message, X-Exception-File")
618618
- "cors.allowMethods": The methods allowed in the CORS request ("OPTIONS, GET, PUT, POST, DELETE, PATCH")
619619
- "cors.allowCredentials": To allow credentials in the CORS request ("true")
620-
- "cors.exposeHeaders": Whitelist headers that browsers are allowed to access ("")
620+
- "cors.exposeHeaders": Whitelist headers that browsers are allowed to access ("X-Debug-Info, X-Exception-Name, X-Exception-Message, X-Exception-File")
621621
- "cors.maxAge": The time that the CORS grant is valid in seconds ("1728000")
622622
- "xsrf.excludeMethods": The methods that do not require XSRF protection ("OPTIONS,GET")
623623
- "xsrf.cookieName": The name of the XSRF protection cookie ("XSRF-TOKEN")

0 commit comments

Comments
 (0)