Hi for a couple of days I have this challenge
I'm building with NestJS (https://nestjs.com/)
I want to have a route that only listens when it doesn't have a file extension.
So for example
localhost:3000 -> good
localhost:3000/ -> good
localhost:3000/test -> good
localhost:3000/test.txt -> ignore
localhost:3000/css/mycss.css -> ignore
Also, when the route is valid, I want to know the slug in the params
for example
localhost:3000/test
Get('/:slug')
params.slug = test
Can somebody help me?