Hide Potentially Dangerous Information Using helmet.hidePoweredBy()

Solution if you are getting error “Helmet is not defined”

const helmet = require(“helmet”);
app.use(helmet.hidePoweredBy());

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