diff --git a/src/websrv.js b/src/websrv.js index de09cee..feb6669 100644 --- a/src/websrv.js +++ b/src/websrv.js @@ -135,6 +135,8 @@ function Websrv(tbot, tsql, tlib) { else if(filePath.match(/^\.\/git\//i)) { console.log(filePath); console.log(req); + res.writeHead(200, { 'Content-Type': 'text/html' }); + res.end('muh', 'utf-8'); } else if(filePath.match(/^\.\/(b|s|t)\/.*/)) { // file contentType = mimeTypes[extname];