Tell us what’s happening:
Sorry for asking to much basic questions guys… But i managed to pass te first test and i am able to understand how Repl works now. So, the problem now is that im receiving this message from the challenge:
helmet.hidePoweredBy() middleware should be mounted correctly
Your code so far
I did try the following code in myApp.js:
helmet.hidePoweredBy({ setTo: ‘PHP 4.2.0’ });
app.use(helmet.hidePoweredBy({ setTo: ‘PHP 4.2.0’ }))
Challenge: Hide Potentially Dangerous Information Using helmet.hidePoweredBy()
Link to the challenge: