I’ve been trying to do “Hide Potentially Dangerous Information Using Helmet JS”, but I see no set of instructions in the package. Am I doing something wrong?
Directions state In the
myApp.js file, add
app.use(helmet.hidePoweredBy()); under the second instructions. Second instructions? My myApp.js is mostly blank with the exception of this:
var express = require(‘express’);
var app = express();
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.190 Safari/537.36.
Challenge: Hide Potentially Dangerous Information Using helmet.hidePoweredBy()
Link to the challenge: