mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-02-23 13:02:28 +00:00
fix broken doc links
This commit is contained in:
parent
37aa497e59
commit
00ffe95354
1 changed files with 3 additions and 3 deletions
|
@ -140,13 +140,13 @@ impl Middleware for CorsConfig {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Handle CORS for a non-preflight request. This means manipulating the `res` HTTP headers so that
|
Handle CORS for a non-preflight request. This means manipulating the `res` HTTP headers so that
|
||||||
the response is aligned with the `state`'s [`CorsConfig`].
|
the response is aligned with the `state`'s [CorsConfig].
|
||||||
|
|
||||||
If you are using the [`Resource`] type (which is the recommended way), you'll never have to call
|
If you are using the [Resource](crate::Resource) type (which is the recommended way), you'll never have to call
|
||||||
this method. However, if you are writing your own handler method, you might want to call this
|
this method. However, if you are writing your own handler method, you might want to call this
|
||||||
after your request to add the required CORS headers.
|
after your request to add the required CORS headers.
|
||||||
|
|
||||||
For further information on CORS, read https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS.
|
For further information on CORS, read [https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS).
|
||||||
|
|
||||||
[`CorsConfig`]: ./struct.CorsConfig.html
|
[`CorsConfig`]: ./struct.CorsConfig.html
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue