Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.get('/*', (req, res) => {
const headTags = [];
let markup;
try {
markup = renderToString(
);
} catch (error) {
if (isRedirect(error)) {
res.redirect(error.uri);
} else {
res.status(500).end(`An error occurred, ${error}`);
}
}
res.status(200).send(
`
${
assets.client.css
? ``