Skip to content

Commit

Permalink
fix todo link in CORS doc (#386)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning authored Dec 28, 2023
1 parent a33131d commit cd6039f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/main/paradox/common/cors.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit cd6039f

Please sign in to comment.