Merged Pull Request #484

This commit is contained in:
Spencer Alger
2013-09-13 13:52:13 -07:00
parent 0f551acc76
commit 5d9cb85ccf
388 changed files with 39375 additions and 5533 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ StaticServlet.MimeMap = {
StaticServlet.prototype.handleRequest = function(req, res) {
var self = this;
var path = ('./' + req.url.pathname).replace('//','/').replace(/%(..)/g, function(match, hex){
var path = ('../src/' + req.url.pathname).replace('//','/').replace(/%(..)/g, function(match, hex){
return String.fromCharCode(parseInt(hex, 16));
});
var parts = path.split('/');