|
@@ -71,6 +71,7 @@ if(cluster.isMaster){
|
|
if(stats.isFile()){
|
|
if(stats.isFile()){
|
|
var fileStream,
|
|
var fileStream,
|
|
mimetype = mimeTypes[path.extname(filename).split('.')[1]];
|
|
mimetype = mimeTypes[path.extname(filename).split('.')[1]];
|
|
|
|
+
|
|
res.writeHead(200,{
|
|
res.writeHead(200,{
|
|
'Content-Type': mimetype
|
|
'Content-Type': mimetype
|
|
});
|
|
});
|
|
@@ -265,4 +266,4 @@ if(cluster.isMaster){
|
|
}
|
|
}
|
|
process.on('uncaughtException',function(e){
|
|
process.on('uncaughtException',function(e){
|
|
logger.error(e);
|
|
logger.error(e);
|
|
-});
|
|
|
|
|
|
+});
|