This commit is contained in:
Flummi 2016-09-10 17:55:07 +02:00
parent a886d46064
commit 235fd353c9

View File

@ -34,10 +34,10 @@ function Websrv(tbot, tsql, tlib) {
req.on('end', () => { req.on('end', () => {
console.log(body); console.log(body);
//var eventname = body.event_name; var eventname = body.event_name;
//var autor = body.user_name; var autor = body.user_name;
//var commit = body.commits[body.commits[total_commits_count]-1].message; var commit = body.commits[body.commits[total_commits_count]-1].message;
//bot.log( eventname + ' from ' + autor + ' ('+commit+')' ); bot.log( eventname + ' from ' + autor + ' ('+commit+')' );
}); });
res.writeHead(200, { 'Content-Type': 'text/html' }); res.writeHead(200, { 'Content-Type': 'text/html' });
res.end('muh', 'utf-8'); res.end('muh', 'utf-8');