This commit is contained in:
Flummi 2016-09-10 16:44:10 +02:00
parent 5110f23700
commit b99f4bb53f

View File

@ -132,9 +132,9 @@ function Websrv(tbot, tsql, tlib) {
res.writeHead(200, { 'Content-Type': 'text/html' }); res.writeHead(200, { 'Content-Type': 'text/html' });
res.end(tpl(), 'utf-8'); res.end(tpl(), 'utf-8');
} }
else if(filePath.match(/^\.\/git\//i)) { else if(filePath == './git') {
console.log(filePath); console.log(filePath);
console.log(req); console.log(res);
res.writeHead(200, { 'Content-Type': 'text/html' }); res.writeHead(200, { 'Content-Type': 'text/html' });
res.end('muh', 'utf-8'); res.end('muh', 'utf-8');
} }