Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Raise JSON length limit
it's not hard to hit 5000 if you just throw in a lot of mods
  • Loading branch information
sfan5 committed May 7, 2019
1 parent 8aa2efd commit 794807c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.py
Expand Up @@ -39,7 +39,7 @@ def announce():

data = request.values["json"]

if len(data) > 5000:
if len(data) > 8192:
return "JSON data is too big.", 413

try:
Expand Down

0 comments on commit 794807c

Please sign in to comment.