freeCodeCamp Challenge Guide: Hide Potentially Dangerous Information Using helmet.hidePoweredBy()

Hide Potentially Dangerous Information Using helmet.hidePoweredBy()


Hints

Hint 1

You want your app to use the helmet.hidePoweredBy() method on each request.


Solutions

Solution 1 (Click to Show/Hide)

In the myApp.js file, add app.use(helmet.hidePoweredBy()); under the second instructions.

Note: Be sure to submit the link to the live demo of your project.

7 Likes