Im making project in next.js 13 and currently there is only 1 folder name explore that has dynamic routing.
in explore im mapping over a list and using as well and in link im passing index of map ( which will be id ) like .
in my development it works fine but when i make build and test in live / production it gives error
Cannot GET /explo
in development its http://localhost:3000/explore/0/
and then after build in live its Cannot GET /explo or http://127.0.0.1:5500/explo
why does it gets explo in live ? it should be explore/0 or explore/1 (depending on id passed)
i made a demo project there i passed a simple id of an array to my [id] page. everything worked well but after build same issue there as well. i tried using client side and server side both causing issue. i think there is something wrong when making build ?