wunkus
This commit is contained in:
parent
4328168834
commit
547db95ac9
4
main
4
main
|
@ -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__":
|
||||||
|
|
Reference in New Issue