JKHeadley / rest-hapi

🚀 A RESTful API generator for Node.js
https://resthapi.com
MIT License
1.19k stars 153 forks source link

Add allowList to routeOptions #244

Closed hmenzagh closed 4 years ago

hmenzagh commented 4 years ago

Simple pull-request to add an option to disallow list endpoint generation. Useless for certain documents in a project of mine and can cause a potential attack point to overload the server. Thought it would be nice to have a more granular control over this particular endpoint generation.

JKHeadley commented 4 years ago

@hmenzagh just checking in. Haven't had a chance to review this yet but I will try to in the near future.

JKHeadley commented 4 years ago

@hmenzagh merged, thanks!