Tell us what’s happening:
for the second problem in information secrutiy,
I did everything right:-
helmet has been installed
let helmet - require(‘helmet’); has been initialized;
app.use(helmet.hidePoweredBy()); has been typed and run.
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?
the error message(“helmet.hidePoweredBy() middleware should be mounted correctly”)
Your project link(s)
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: