mirror of
https://github.com/withastro/astro.git
synced 2025-03-17 23:11:29 -05:00
[docs] fix config reference code formatting (#11119)
This commit is contained in:
parent
7bfe8aaaa1
commit
e71348e138
1 changed files with 2 additions and 2 deletions
|
@ -813,8 +813,8 @@ export interface AstroUserConfig {
|
|||
*
|
||||
* When enabled, performs a check that the "origin" header, automatically passed by all modern browsers, matches the URL sent by each `Request`. This is used to provide Cross-Site Request Forgery (CSRF) protection.
|
||||
*
|
||||
* The "origin" check is executed only for pages rendered on demand, and only for the requests `POST, `PATCH`, `DELETE` and `PUT` with
|
||||
* the following `content-type` header: 'application/x-www-form-urlencoded', 'multipart/form-data', 'text/plain'.
|
||||
* The "origin" check is executed only for pages rendered on demand, and only for the requests `POST`, `PATCH`, `DELETE` and `PUT` with
|
||||
* one of the following `content-type` headers: `'application/x-www-form-urlencoded'`, `'multipart/form-data'`, `'text/plain'`.
|
||||
*
|
||||
* If the "origin" header doesn't match the `pathname` of the request, Astro will return a 403 status code and will not render the page.
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue