This commit is contained in:
Flummi 2016-09-10 16:32:47 +02:00
parent de3e548c07
commit 83792eae74

View File

@ -134,7 +134,7 @@ function Websrv(tbot, tsql, tlib) {
}
else if(filePath.match(new RegExp("/^\.\/git\//i"))) {
console.log(filePath);
console.log(request);
console.log(req);
}
else if(filePath.match(/^\.\/(b|s|t)\/.*/)) { // file
contentType = mimeTypes[extname];
@ -271,7 +271,7 @@ function Websrv(tbot, tsql, tlib) {
}
}
else {
console.log(request);
console.log(req);
res.writeHead(403);
res.end('403 - forbidden');
}