You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by fa...@apache.org on 2023/12/28 13:11:43 UTC
(incubator-pekko-http) branch 1.0.x updated: fix todo link in CORS doc (#386) (#388)
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 <pj...@users.noreply.github.com>
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: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org