From 9d244af7f5597a9949e88a3e75e3d7697b5093ff Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 2 Feb 2023 21:33:52 +0200 Subject: [PATCH] increase ratelimit on /csp_violations --- files/routes/static.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/static.py b/files/routes/static.py index 4d681a45e..3c3f6680d 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -357,7 +357,7 @@ def donate(v): # @app.post('/csp_violations') -# @limiter.limit("10/minute;50/day") +# @limiter.limit("5/minute;10/day") # def csp_violations(): # content = request.get_json(force=True)['csp-report'] # if content.get('source-file').startswith(SITE_FULL):