Why it says that I mounted it wrong

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/99.0.4844.51 Safari/537.36

Challenge: Mitigate the Risk of Clickjacking with helmet.frameguard()

Link to the challenge:

I’ve noticed that the last 2 lines in myApp.js miss semicolon “;” at the end. No idea if that is going to help you with anything at all.

Edit. It is line 5 and 6 lacking the “;”, for some reason thought there are no more lines in the file.

Challenge description:

Use helmet.frameguard() passing with the configuration object {action: 'deny'} .

Your code:

app.use(helmet.frameguard())

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