I want to apply a middleware to any request to my server
this middleware should check for whitelisted Ips
registering the middleware to each single route is not a perfect solution
what if he navigated to non-implemented route like 404 Page
implemented routes
/r1
/r2
/r3
if he navigated to /4 for example - it will navigate to 404 page , but also in this case - I want to use the middleware