muh
This commit is contained in:
parent
4efdc78b6a
commit
bfce6f1248
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user