Commits

Magnus Hoff  committed cc43d01

Serve .svg-files as image/svg+xml

  • Participants
  • Parent commits d9b4cd1

Comments (0)

Files changed (1)

File fileresource.js

     var contentTypes = {
         '.html': 'text/html',
         '.js': 'text/javascript',
-        '.css': 'text/css'
+        '.css': 'text/css',
+        '.svg': 'image/svg+xml'
     };
 
     this.http_GET = function(req, res) {