Closed josejachuf closed 3 years ago
@josejachuf the objects you decorate with on_error
in Emmett should be coroutines, change your code as:
@app.on_error(404)
async def not_found():
return app.render_template("404.html")
This works fine. Thanks @gi0baro
Hi @gi0baro
I'm passing an app from Weppy to Emmett and I have this problem when trying to use signature in the URL
The creation of the signature and the validation of this works fine, but it gives me a problem when I modify the URL (abort function) When the validation of the signature fails, abort is executed
The error occurs when I add the following code
All the code of the Pipe and Injector