Skip to content

Instantly share code, notes, and snippets.

@DuncanFaulkner
Created April 5, 2021 13:40
Embed
What would you like to do?
ssr-6
// Set headers for all requests
app.get('*', (req, res, next) => {
res.setHeader('X-Frame-Options', 'DENY');
next();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment