Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
app.get('/org.geppetto.frontend/geppetto', function (req, res) {
velocity.renderOnce("geppetto.vm", {}, "build/", function(err, data) {
if (err) {
console.error(err);
return;
}
res.send(data.toString());
});
});