In my Next.js application, I have multiple pages and I want the component loaded at http://localhost:3000/someEndpoint to be exactly the same as the one loaded at http://localhost:3000/
I have already created an index.js file, but I am unsure how to create a virtual URL for it.
Redirections are not ideal because I still want the "/" endpoint to work as well.
Is there a way to achieve this?