Skip to content

Commit

Permalink
Move rate limiter to middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
Its4Nik committed Nov 1, 2024
1 parent 5d6c61c commit 68bb589
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const authMiddleware = require("./middleware/authMiddleware");
const app = express();
const logger = require("./utils/logger");
const { scheduleFetch } = require("./controllers/scheduler");
const { limiter } = require("./utils/rateLimiter");
const { limiter } = require("./middleware/rateLimiter");

const PORT = "7070";

Expand Down

0 comments on commit 68bb589

Please sign in to comment.