Skip to content

Disabling swagger-ui in Production #58

Answered by hagopj13
engineervix asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @engineervix thank you for the kind words. I'm glad you like the boilerplate. Also, many thanks for this great suggestion. I really like it.

Would you like to create a pull request? I'd be happy to merge it.

One thing I would change though is to keep defaultRoutes and devRoutes as separate arrays, and I would always add all the defaultRoutes. Only when config.env !== 'production then I would also add the devRoutes.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@engineervix
Comment options

Answer selected by engineervix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants