test
This commit is contained in:
parent
a886d46064
commit
235fd353c9
|
@ -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');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user