-
-
Notifications
You must be signed in to change notification settings - Fork 173
Closed
Labels
Description
Prerequisites
- I have written a descriptive issue title
- I have searched existing issues to ensure the issue has not already been raised
Issue
I used Fastify CLI generate command to create the project
in my routes folder /Auth/index.ts
that is interpreted as route as /Auth
I need it to be /auth instead of /Auth
I need to keep the URL routes in lowercase and the folders in uppercase
What I reached to from research is to use
caseSensitive prop in Fastify config
however it did not work with the generated CLI project
looks, there's no typing support for it

the response is {"message":"Route GET:/auth not found","error":"Not Found","statusCode":404}
have to be /Auth only