1. Magnus Hoff
  2. resource-tree

Commits

Magnus Hoff  committed 3a5a5ca

Serve out css files with Content-Type: text/css

  • Participants
  • Parent commits 55a4314
  • Branches default

Comments (0)

Files changed (1)

File resource-tree.js

View file
  • Ignore whitespace
 
     var contentTypes = {
         '.html': 'text/html',
-        '.js': 'text/javascript'
+        '.js': 'text/javascript',
+        '.css': 'text/css'
     };
 
     this.http_GET = function(req, res) {