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