Sync docs from master to gh-pages

This commit is contained in:
buildmaster
2019-07-25 19:29:46 +00:00
parent c1d3484bd0
commit 064ea008fb

View File

@@ -2430,6 +2430,9 @@ spring.cloud.gateway.discovery.locator.filters[1].args[replacement]: "'/${remain
<div class="paragraph">
<p>In the example above, CORS requests will be allowed from requests that originate from docs.spring.io for all GET requested paths.</p>
</div>
<div class="paragraph">
<p>To provide the same CORS configuration to requests that are not handled by some gateway route predicate, set the property <code>spring.cloud.gateway.globalcors.add-to-simple-url-handler-mapping</code> equal to true. This is useful when trying to support CORS preflight requests and your route predicate doesn&#8217;t evalute to true because the http method is <code>options</code>.</p>
</div>
</div>
</div>
<div class="sect1">