Fix grammar in API routes: Introduction (#19385)
For an API route to work, you need to `export as default a function` (a.k.a **request handler**), which then receives the following parameters: For an API route to work, you need to `export a function as default` (a.k.a **request handler**), which then receives the following parameters: I might be wrong though (not a native English speaker), it just sounds strange to my ears.
Showing
想要评论请 注册 或 登录