This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-http.git


The following commit(s) were added to refs/heads/main by this push:
     new cd6039fc1 fix todo link in CORS doc (#386)
cd6039fc1 is described below

commit cd6039fc15de55b12a01fef3fb531f69f5c57142
Author: PJ Fanning <[email protected]>
AuthorDate: Thu Dec 28 10:04:52 2023 +0100

    fix todo link in CORS doc (#386)
---
 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]

Reply via email to