forked from rDrama/rDrama
1
0
Fork 0

fix 500 error

master
Aevann 2022-12-27 07:40:54 +02:00
parent 54b49d374c
commit 84874ab3ff
1 changed files with 2 additions and 2 deletions

View File

@ -339,7 +339,7 @@ def donate(v):
@limiter.limit("10/minute;50/day")
def csp_violations():
content = request.get_json(force=True)
content = str(json.dumps(content, indent=4, sort_keys=True), flush=True)
content = str(json.dumps(content, indent=4, sort_keys=True))
if f'"source-file": "{SITE_FULL}' in content:
print(content)
print(content, flush=True)
return ''