This commit is contained in:
Flummi 2016-09-10 16:35:16 +02:00
parent 83792eae74
commit 0d92b9a8f1

View File

@ -132,7 +132,7 @@ 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"))) {
else if(filePath.match(/^\.\/git\//i)) {
console.log(filePath);
console.log(req);
}