abc / ctrls /example.js
ShadowVNs's picture
Upload 3 files
b2804fa verified
raw
history blame contribute delete
No virus
260 Bytes
module.exports = {
path: '/example',
method: 'GET',
limit: {
windowMs: 1000*60,
max: 3,
message: 'Quá nhiều request từ IP này, vui lòng thử lại sau.'
},
handler: (req, res, next)=>{
res.send('example');
},
}