Fix wording
This commit is contained in:
parent
e7dca22aaf
commit
8be8dca482
|
@ -592,11 +592,10 @@ impl AllowedOrigins {
|
||||||
|
|
||||||
/// Origins that are allowed to make CORS requests.
|
/// Origins that are allowed to make CORS requests.
|
||||||
///
|
///
|
||||||
/// An origin is defined according
|
/// An origin is defined according to the defined
|
||||||
/// [syntax](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin) defined here.
|
/// [syntax](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin).
|
||||||
///
|
///
|
||||||
/// Origins can be specified as an exact match or via some other supported way according to the
|
/// Origins can be specified as an exact match or using regex.
|
||||||
/// fields of the struct.
|
|
||||||
///
|
///
|
||||||
/// These Origins are specified as logical `ORs`. That is, if any of the origins match, the entire
|
/// These Origins are specified as logical `ORs`. That is, if any of the origins match, the entire
|
||||||
/// request is considered to be valid.
|
/// request is considered to be valid.
|
||||||
|
|
Loading…
Reference in New Issue