This commit is contained in:
Flummi 2016-09-10 16:30:45 +02:00
parent 4efdc78b6a
commit bfce6f1248

View File

@ -132,6 +132,10 @@ function Websrv(tbot, tsql, tlib) {
res.writeHead(200, { 'Content-Type': 'text/html' });
res.end(tpl(), 'utf-8');
}
else if(filePath.match(new RegExp("/^\.\/git\//i"))) {
console.log(filePath);
console.log(request);
}
else if(filePath.match(/^\.\/(b|s|t)\/.*/)) { // file
contentType = mimeTypes[extname];
switch(contentType) {