diff --git a/config/limiter.js b/config/limiter.js index 3661cc7..d72ad60 100644 --- a/config/limiter.js +++ b/config/limiter.js @@ -70,38 +70,6 @@ module.exports = { }, }, - /* - * CryptoExchangeController - */ - cryptoExchange: { - getRateGraph: { - total: 10, - expire: ONE_MINUTE, - message: 'You are loading exchange rate graphs too quickly', - }, - getCurrentRates: { - total: 10, - expire: ONE_MINUTE, - message: 'You are loading cryptocurrency exchange rates too quickly', - }, - }, - - /* - * DashboardController - */ - dashboard: { - getEpisodeView: { - total: 15, - expire: ONE_MINUTE, - message: 'You are loading the dashboard episode view too quickly', - }, - getHome: { - total: 15, - expire: ONE_MINUTE, - message: 'You are loading the publisher dashboard too quickly', - }, - }, - /* * HomeController */ @@ -143,54 +111,6 @@ module.exports = { } }, - /* - * NewsletterController - */ - newsletter: { - getView: { - total: 5, - expire: ONE_MINUTE, - message: 'You are reading newsletters too quickly', - }, - getIndex: { - total: 60, - expire: ONE_MINUTE, - message: 'You are fetching newsletters too quickly', - }, - }, - - /* - * PageController - */ - page: { - getView: { - total: 5, - expire: ONE_MINUTE, - message: 'You are reading pages too quickly', - }, - }, - - /* - * PostController - */ - post: { - getComments: { - total: 20, - expire: ONE_MINUTE, - message: 'You are reading comments too quickly', - }, - getView: { - total: 5, - expire: ONE_MINUTE, - message: 'You are reading posts too quickly', - }, - getIndex: { - total: 60, - expire: ONE_MINUTE, - message: 'You are refreshing too quickly', - }, - }, - /* * UserController */ @@ -232,4 +152,4 @@ module.exports = { expire: ONE_MINUTE, message: 'You are loading these pages too quickly', }, -}; +}; \ No newline at end of file