Custom 404 Handler
It is possible to return a personalized message when a route cannot be found.
notfound
notfound("""<!DOCTYPE html>
<html>
<head><title>Not found</title></head>
<body><h1>404, Not found</h1></body>
</html>""")notfound("folder/notfound.html")Last updated