cannot post a route because of middleware
I am developing a project with Go. I wrote a middleware for this project and it works quite correctly. However, I don’t want the middleware to be affected when a request is sent to the login route because I get a “Missing Authorization header” error. So I added this code in middleware: