This commit is contained in:
maaa 2023-06-29 20:44:07 +02:00
parent 4328168834
commit 547db95ac9
1 changed files with 2 additions and 2 deletions

4
main
View File

@ -281,12 +281,12 @@ def logout():
@app.errorhandler(413) @app.errorhandler(413)
def page_not_found(e): def page_not_found(e):
return errorMessage("the server decided to commit die") return "the server decided to commit die"
@app.errorhandler(413) @app.errorhandler(413)
def page_not_found(e): def page_not_found(e):
return errorMessage("Images can't be larger than 4MB") return "Images can't be larger than 4MB"
if __name__ == "__main__": if __name__ == "__main__":