Skip to content

Commit cffd700

Browse files
authored
fix(docs): fix up minor typos (#7434)
1 parent a67c3be commit cffd700

File tree

1 file changed

+2
-2
lines changed
  • packages/docs/src/routes/docs/(qwikcity)/advanced/request-handling

1 file changed

+2
-2
lines changed

packages/docs/src/routes/docs/(qwikcity)/advanced/request-handling/index.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ created_at: '2023-03-20T23:45:13Z'
1717

1818
Each `layout.ts` and `index.ts` file inside the `src/routes` directory has the ability to access the current HTTP request, response, and URL. This allows you to retrieve and modify data, and even respond with custom content.
1919

20-
Qwik City implements a middleware system based on the hirarchy of the `src/routes` directory. The middleware system is used to handle HTTP requests and responses and is available to pages, layouts, and [endpoints](/docs/(qwikcity)/endpoints/index.mdx).
20+
Qwik City implements a middleware system based on the hierarchy of the `src/routes` directory. The middleware system is used to handle HTTP requests and responses and is available to pages, layouts, and [endpoints](/docs/(qwikcity)/endpoints/index.mdx).
2121

2222
Each route can add HTTP request and response handlers, allowing developers to retrieve and modify data. The handlers can also be used by [endpoints](/docs/(qwikcity)/endpoints/index.mdx), which only respond with data rather than a page's HTML.
2323

@@ -109,7 +109,7 @@ export interface CookieOptions {
109109
For more information on these attributes and their values, please refer to [the MDN article on the Set-Cookie header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#attributes).
110110

111111
**delete**
112-
Appends a header with the provided key to the cookie. The new header will have an expired date in the `expires` field, telling the browers to remove it.
112+
Appends a header with the provided key to the cookie. The new header will have an expired date in the `expires` field, telling the browsers to remove it.
113113

114114
```tsx
115115
cookie.delete('my-cookie');

0 commit comments

Comments
 (0)