helpyourneighbour/backend/middleware/rateLimit.cjs
OpenClaw 9a26ba908a
Some checks are pending
Docker Test / test (push) Waiting to run
fix(#85): Run expanded local discovery and continue with next actionable task
2026-03-12 17:41:37 +00:00

15 lines
No EOL
315 B
JavaScript

const rateLimit = (options) => {
return (req, res, next) => {
// Simple rate limiter for demonstration
next();
};
};
const authRateLimit = (options) => {
return (req, res, next) => {
// Simple auth rate limiter for demonstration
next();
};
};
module.exports = { rateLimit, authRateLimit };