Skip to content

Instantly share code, notes, and snippets.

@DuncanFaulkner

DuncanFaulkner/ssr-6.ts Secret

Created Apr 5, 2021
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