|
|
@ -108,7 +108,6 @@ exports.image = function(req, res) { |
|
|
|
options.message = options.report.result.infos.$allMessages[options.report.result.infos.$allMessages.length-1].message; |
|
|
|
options.message = options.report.result.infos.$allMessages[options.report.result.infos.$allMessages.length-1].message; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
console.log(options); |
|
|
|
|
|
|
|
res.setHeader('Content-Type', 'image/svg+xml'); |
|
|
|
res.setHeader('Content-Type', 'image/svg+xml'); |
|
|
|
res.render('status-image', options); |
|
|
|
res.render('status-image', options); |
|
|
|
}; |
|
|
|
}; |
|
|
|