This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch 1.0.x
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-http.git
The following commit(s) were added to refs/heads/1.0.x by this push:
new d49a8d184 fix todo link in CORS doc (#386) (#388)
d49a8d184 is described below
commit d49a8d1843322450909ea1117e9e3f98e7b42b81
Author: PJ Fanning <[email protected]>
AuthorDate: Thu Dec 28 14:11:37 2023 +0100
fix todo link in CORS doc (#386) (#388)
---
docs/src/main/paradox/common/cors.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/src/main/paradox/common/cors.md
b/docs/src/main/paradox/common/cors.md
index 44f610f6c..bd05123c1 100644
--- a/docs/src/main/paradox/common/cors.md
+++ b/docs/src/main/paradox/common/cors.md
@@ -62,7 +62,7 @@ final Route route = cors(settings, () -> {
## Rejection
The CORS directives can reject requests using the `CorsRejection` class.
Requests can be either malformed or not allowed to access the resource.
-A rejection handler is provided by the library to return meaningful HTTP
responses. Read the pekko documentation (link TODO) to learn more about
rejections, or if you need to write your own handler.
+A rejection handler is provided by the library to return meaningful HTTP
responses. Read the @ref[Pekko documentation](../routing-dsl/rejections.md) to
learn more about rejections, or if you need to write your own handler.
Scala
: @@snip
[CorsServerExample.scala](/docs/src/test/scala/docs/http/scaladsl/server/cors/CorsServerExample.scala)
{ #cors-server-example }
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]