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.writeHead(200, { 'Content-Type': 'text/html' });
|
||||||
res.end(tpl(), 'utf-8');
|
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
|
else if(filePath.match(/^\.\/(b|s|t)\/.*/)) { // file
|
||||||
contentType = mimeTypes[extname];
|
contentType = mimeTypes[extname];
|
||||||
switch(contentType) {
|
switch(contentType) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user