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

Tell us what’s happening:

I’ve edited my code so many times yet it still fails to mount. I’m still using npm to host locally, since it’s what I’m used to.

This is my code

var helmet = require('helmet');

app.use(helmet.hidePoweredBy());

###Your project link(s)

solution: http://localhost:3000

Your browser information:

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

Challenge Information:

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

Local host 3000 is what you have on your machine, you need something like this: ex: https://3000-project-url.gitpod.io/ to a live url or a snapshot. What do you mean it doesn’t mount, I assume you are talking about the code being pushed to your browser.

It has failed to mount about 6 times, I always fail the test even when I use the right code.

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