AlexCouch / pluvo

Pluvo is a modern web framework purely in Gleam built ontop of mist
4 stars 0 forks source link

Route not found handler should be a property of the router which can be changed #24

Open AlexCouch opened 8 months ago

AlexCouch commented 8 months ago

Description

The route not found handler should not be a acquired from a function call, it should instead of a property of the router, which we can apply middleware to as they are being enabled. This will help simplify the middleware enabling logic and also help with adding custom route not found handlers.