DevFlow

Dev Flow

search

Fresh NextJS project cannot hit root route, keep getting redirected to home

clock icon

asked 7 months agoAsked

message

0Answers

eye

4Views

Pretty straight forward. Inside the app folder there is page.tsx with the default vercel stuff.

If it try and hit http://localhost:3000/ i get redirected to http://localhost:3000/home.

If i put a home folder in the app directory and put page.tsx inside it I cant see the page contents when i navigate to /home.

But even putting a new page.tsx inside app and accessing the root directory / I still get redirected to /home

0 Answers

Write your answer here