Skip to content

Commit 0938b97

Browse files
committed
Fix links to Spring Framework's CORS documentation.
Fixes #2215.
1 parent 77c0322 commit 0938b97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/asciidoc/configuring-cors.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
For security reasons, browsers prohibit AJAX calls to resources residing outside the current origin. When working with client-side HTTP requests issued by a browser, you want to enable specific HTTP resources to be accessible.
55

6-
Spring Data REST, as of 2.6, supports https://en.wikipedia.org/wiki/Cross-origin_resource_sharing[Cross-Origin Resource Sharing] (CORS) through https://docs.spring.io/spring/docs/{springVersion}/spring-framework-reference/web.html#mvc-cors[Spring's CORS] support.
6+
Spring Data REST, as of 2.6, supports https://en.wikipedia.org/wiki/Cross-origin_resource_sharing[Cross-Origin Resource Sharing] (CORS) through https://docs.spring.io/spring-framework/docs/{springVersion}/reference/html/web.html#mvc-cors[Spring's CORS] support.
77

88
[[customizing-sdr.configuring-cors.config]]
99
== Repository Interface CORS Configuration
@@ -35,7 +35,7 @@ The preceding example enables CORS support for the whole `PersonRepository` by p
3535
[[customizing-sdr.configuring-cors.controller-config]]
3636
== Repository REST Controller Method CORS Configuration
3737

38-
Spring Data REST fully supports https://docs.spring.io/spring/docs/{springVersion}/spring-framework-reference/web.html#controller-method-cors-configuration[Spring Web MVC's controller method configuration] on custom REST controllers that share repository base paths, as the following example shows:
38+
Spring Data REST fully supports https://docs.spring.io/spring-framework/docs/{springVersion}/reference/html/web.html#mvc-cors-controller[Spring Web MVC's controller method configuration] on custom REST controllers that share repository base paths, as the following example shows:
3939

4040
====
4141
[source, java]

0 commit comments

Comments
 (0)