Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
res.send(__CLIENT_JS__);
});
app.get(`/client-${__GIT_SHA__}.css`, (req, res) => {
res.setHeader('Cache-Control', 'public, max-age=31536000');
res.setHeader('content-type', 'text/css');
res.send(__CLIENT_CSS__);
});
app
.use(bodyParser.json())
.use(bodyParser.urlencoded({ extended: true }))
.configure(express.rest())
.configure(socketio())
.configure(services)
.use(error({ html: false }));
return app;
}