Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// log4js.info(meta);
// await next();
// return;
// });
app.use(render(__dirname + '/view', {
map: {
html: 'underscore'
},
extension: 'ejs'
}));
app.use(router.routes())
.use(router.allowedMethods());
app.use(serveSass({
mountAt: '/static/css',
src: './static/scss',
dest: './static/css',
importPaths: ['./node_modules']
}))
app.use(serveStatic('./static', '/static'));
sequelize.rajio.sync()
sequelize.rajioInfo.sync()
gc.init()
info.init()
app.listen(4290);
log4js.info('Serving at http://localhost:4290');