diff --git a/includes/staticContentServer.js b/includes/staticContentServer.js index beedc5d..118108c 100644 --- a/includes/staticContentServer.js +++ b/includes/staticContentServer.js @@ -13,6 +13,7 @@ module.exports= serveStaticContent: function(request, result, filename, baseURL) { var fullPath = baseURL + filename; + var filename = filename.toLowerCase(); if(fullPath.charAt(0) === '/') fullPath = fullPath.substring(1,); if (filename.includes(".svg") || filename.includes(".svg")) @@ -64,4 +65,4 @@ module.exports= } return false; } - }; \ No newline at end of file + };