Avoid Inferring the Response MIME Type with helmet.noSniff()
Hints
Hint 1
- You want your
apptousehelmet’snoSniff()method on each request.
Solutionss
Solution 1 (Click to Show/Hide)
- In the
myApp.jsfile addapp.use(helmet.noSniff());under the fifth instructions.
Note: Be sure to submit the link to the live demo of your project.