From 5110f23700096ba67503cfd6ba95846ee9d44a54 Mon Sep 17 00:00:00 2001 From: Flummi Date: Sat, 10 Sep 2016 16:36:59 +0200 Subject: [PATCH] muh --- src/websrv.js | 2 ++ 1 file changed, 2 insertions(+) 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];