Skip to content

Commit 67d8377

Browse files
authored
Update src/content/docs/pages/functions/api-reference.mdx
1 parent db9875d commit 67d8377

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/pages/functions/api-reference.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The following methods can be used to configure your Pages Function.
1414

1515
### `onRequests`
1616

17-
`onRequest` will be called unless a more specific `onRequestVerb` method is exported. For example, if both `onRequest` and `onRequestGet` are exported, only `onRequestGet` will be called for `GET` requests.
17+
The `onRequest` method will be called unless a more specific `onRequestVerb` method is exported. For example, if both `onRequest` and `onRequestGet` are exported, only `onRequestGet` will be called for `GET` requests.
1818

1919
* <code>onRequest(context[EventContext](#eventcontext))</code> Response | Promise\<Response>
2020
* This function will be invoked on all requests no matter what the request method is, as long as no specific request verb (like one of the methods below) is exported. It also won't be invoked if `next(context.request)` is called from a `onRequestVerb` function.

0 commit comments

Comments
 (0)