Skip to content

Commit 3661ca6

Browse files
authored
doca: Prevent Stalled Request Warning (#6967)
Added call to end() Missing end causes `stalled request` warning
1 parent 7ba986b commit 3661ca6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/tutorials/avoid-corporate-link-checking-email-provider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import NextAuth from "next-auth"
3030
export default async function auth(req: NextApiRequest, res: NextApiResponse) {
3131

3232
if(req.method === "HEAD") {
33-
return res.status(200)
33+
return res.status(200).end()
3434
}
3535

3636
...

0 commit comments

Comments
 (0)