Skip to content

Commit

Permalink
Paste malfunction (OpenUserJS#1976)
Browse files Browse the repository at this point in the history
* Someday Ubuntu/Kubuntu will fix some including the disappearing spaces.

Post OpenUserJS#1975

Auto-merge
  • Loading branch information
Martii committed Dec 2, 2022
1 parent 9175fe8 commit ad7574c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ var installCapLimiter = rateLimit({
windowMs: waitInstallCapMin * 60 * 1000, // n minutes for all stores
max: 50, // limit each IP to n requests per windowMs for memory store or expireTimeMs for mongo store
handler: function (aReq, aRes, aNext, aOptions) {
var cmd = null;

if (aReq.rateLimit.current < aReq.rateLimit.limit + 4) {
// Midddlware options
if (!aRes.oujsOptions) {
Expand Down

0 comments on commit ad7574c

Please sign in to comment.