Dynamic URLs and auth0 dont work

First of all this is my site and this is the code (auth0 and firebase credentials are deleted), I deployed the website but the dynamic urls created with app.get('/:id' (for example a post) dont work, and if you try to go to /sample it works but it shouldnt because it should ask you to log in first with auth0. Anyhow I know there are a lot of tutorials but I just dont know which one to follow, I tried following some of them, for example a serverless-http one but it didnt work. Which one should I follow or what should I do? Thanks

The site doesn’t seem to exist anymore.