Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function renderPalette(req, res) {
for (let i = 0; i < 10000; i += 1) {
palette({
theme: {},
bgColor: ['blue', 'red'],
});
}
res.send(renderFullPage('hello', ''));
}