Hide Potentially Dangerous Information Using helmet.hidePoweredBy()

Hide Potentially Dangerous Information Using helmet.hidePoweredBy()
0

#1

Hi!

I’m trying to end the Information Security with HelmetJS - Hide Potentially Dangerous Information Using helmet.hidePoweredBy() challange but I’m stuck.
I have to configure helmet to : app.use(helmet.hidePoweredBy());

So in my code:

var helmet = require('helmet');
app.use(helmet.hidePoweredBy());

When I run the test:

expected [] to include ‘hidePoweredBy’

What’s wrong??

Thanks you.


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

Any chances to see your glitch project?


#3

Of course!

Thanks you.


#4

Everything seems to be alright. Reload the challenge page and paste it again.

I’m assuming you’re using the correct URL (https://snapdragon-reason.glitch.me), right?


#5

Yes, Tried agains but same issue.


#6

I came here with the same problem.

For some reason just waiting 5 mins or so and then submitting again works.

Maybe there is caching on the server that takes a few minutes to update the headers?


#7

Hi mattszcz, I tried it waiting 5 min, 1 day,2…from other pc…and nothins works :S
I only notice the message change:
// running test
expected ‘Express’ to not equal ‘Express’
// tests completed


#8

Hi, finally solve by using another browser (firefox).

Thanks you!