helmet.hidePoweredBy();

Tell us what’s happening:
for the second problem in information secrutiy,
I did everything right:-

  1. helmet has been installed

  2. let helmet - require(‘helmet’); has been initialized;

  3. app.use(helmet.hidePoweredBy()); has been typed and run.

  4. when I go to the browser with the boilerplate link, the site is up and while inspecting in network tab for response, there is no poweredby option, which means the hidePoweredBy() worked, but when I paste the live link, it say it is still incorrect answer. what is happening?

  5. the error message(“helmet.hidePoweredBy() middleware should be mounted correctly”)

Your project link(s)

solution: https://boilerplate-infosec-4.bedav69622.repl.co

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36.

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

Link to the challenge: