muh
This commit is contained in:
parent
0d92b9a8f1
commit
5110f23700
@ -135,6 +135,8 @@ function Websrv(tbot, tsql, tlib) {
|
||||
else if(filePath.match(/^\.\/git\//i)) {
|
||||
console.log(filePath);
|
||||
console.log(req);
|
||||
res.writeHead(200, { 'Content-Type': 'text/html' });
|
||||
res.end('muh', 'utf-8');
|
||||
}
|
||||
else if(filePath.match(/^\.\/(b|s|t)\/.*/)) { // file
|
||||
contentType = mimeTypes[extname];
|
||||
|
Loading…
Reference in New Issue
Block a user