muh
This commit is contained in:
parent
de3e548c07
commit
83792eae74
@ -134,7 +134,7 @@ function Websrv(tbot, tsql, tlib) {
|
|||||||
}
|
}
|
||||||
else if(filePath.match(new RegExp("/^\.\/git\//i"))) {
|
else if(filePath.match(new RegExp("/^\.\/git\//i"))) {
|
||||||
console.log(filePath);
|
console.log(filePath);
|
||||||
console.log(request);
|
console.log(req);
|
||||||
}
|
}
|
||||||
else if(filePath.match(/^\.\/(b|s|t)\/.*/)) { // file
|
else if(filePath.match(/^\.\/(b|s|t)\/.*/)) { // file
|
||||||
contentType = mimeTypes[extname];
|
contentType = mimeTypes[extname];
|
||||||
@ -271,7 +271,7 @@ function Websrv(tbot, tsql, tlib) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
console.log(request);
|
console.log(req);
|
||||||
res.writeHead(403);
|
res.writeHead(403);
|
||||||
res.end('403 - forbidden');
|
res.end('403 - forbidden');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user