We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae6e2cf commit 3de61a3Copy full SHA for 3de61a3
docs/api-routes/introduction.md
@@ -22,7 +22,7 @@ API ルートは Next.js で**API**を構築する方法を提供しています
22
例えば、以下の API ルート `pages/api/user.js` は `json` レスポンスを `200` ステータスコードとともに返します:
23
24
```js
25
-export default function handler(req, res) => {
+export default function handler(req, res) {
26
res.status(200).json({ name: 'John Doe' })
27
};
28
```
0 commit comments