node-ddos icon indicating copy to clipboard operation
node-ddos copied to clipboard

Question: How to config for a specific path instead of all paths in a route in HapiJS 16?

Open notamans opened this issue 6 years ago • 1 comments

I am able to configure it property and its working fine on all routes. But I only want to block request on a certain path. Is it possible?

notamans avatar Apr 26 '19 05:04 notamans

Hi @amansingh7010 , I guess you can use request.path and request.method for that. With a little logic you will be able to block request in the correct paths. Regards

nelegatti avatar Oct 01 '19 23:10 nelegatti