|
@ -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 |
|
|
* 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 |
|
|
* UserController |
|
|
*/ |
|
|
*/ |
|
|