Information Security with HelmetJS - Hide Potentially Dangerous Information Using helmet.hidePoweredBy()

Tell us what’s happening:
I added this line

app.use(helmet.hidePoweredBy());

in myApp.js under the second set of instructions.
Error: helmet.hidePoweredBy() middleware should be mounted correctly.
Is this a glitch?

Your project link(s)

solution: boilerplate-infosec - Replit

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36

Challenge: Information Security with HelmetJS - Hide Potentially Dangerous Information Using helmet.hidePoweredBy()

Link to the challenge:

As long as

app.use(helmet.hidePoweredBy());

goes directly under const helmet = require('helmet'); in myApp.js, you are correct.

Just keep clicking submit until it finally accepts your correct answer.

Can it go at the end? Don’t know. Too frustrating to keep clicking submit wondering if it’s telling me the truth about whether or not i’m right.

It’s extremely frustrating when you can have the correct answer but you’re told you’re wrong, then you keep trying other answers even though you already had the right answer at some point.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.