Any route with the word "auth" returning 404
Answered
Asari posted this in #help-forum
AsariOP
Hello, I have a weird one for you, any route I have that contains the word "auth" will return a 404 status code, now two days ago, my /auth routes worked but I moved some stuff around and /auth routes became /u/auth. I tried moving the auth folder out of the "u" folder but I still get a 404 error
6 Replies
@Asari Hello, I have a weird one for you, any route I have that contains the word "auth" will return a 404 status code, now two days ago, my /auth routes worked but I moved some stuff around and /auth routes became /u/auth. I tried moving the auth folder out of the "u" folder but I still get a 404 error
AsariOP
In the picture, I show my /u/authorize route as that has the same problem
Delete node modules and .next folder
Answer
Reinstall dependencies and then check again
If that doesn't fix it, show Middleware file. Check to see if you messed up any of the configs
@Clown Delete node modules and .next folder
AsariOP
Hey, sorry for the slow reply but thank you, I will try that now
AsariOP
Hey man, thank you for the help, it looks to be working now 🙂