Tell us what’s happening:
Describe your issue in detail here.
Your project link(s)
solution: Glitch :・゚✧
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36
Challenge: Hide Potentially Dangerous Information Using helmet.hidePoweredBy()
Link to the challenge:
lasjorg
February 7, 2022, 3:47am
#2
Is that actually a Node app? It looks like a static page template and I don’t see the package.json
file.
I would suggest you use the Replit starter, or cloned from GitHub when creating the Glitch project (docs ).
BTW, you have a 0
in the app.use
app.use(helmet.hidePoweredBy0);
Also, make sure you use the exact Helmet version that is asked for (3.21.3
).
lasjorg
February 7, 2022, 4:19am
#4
As I said, it doesn’t look like a Node app to me. Follow the docs and import the GitHub repo as the starter.
On the dashboard page click the “New Project” button then click “Find more” > Scroll down > paste in the URL https://github.com/freeCodeCamp/boilerplate-infosec/
and write your code in that app.
system
Closed
August 8, 2022, 4:20pm
#5
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.