Update sections/security/limitrequests.md

Codestyle fix

Co-Authored-By: animir <animir@ya.ru>
This commit is contained in:
Kyle Martin
2019-05-06 15:12:18 +10:00
committed by GitHub
parent 71e9eacc6b
commit 825a1dc2a1

View File

@ -30,7 +30,7 @@ Rate limiting should be implemented in your application to protect a Node.js app
// Some app logic here
res.writeHead(200);
res.end()
res.end();
})
.catch(() => {
res.writeHead(429);