Skip to content

Commit

Permalink
changed header to text/css for css files
Browse files Browse the repository at this point in the history
  • Loading branch information
benn0r committed Dec 22, 2011
1 parent e1c93f2 commit 5bce9b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ http.createServer(function (request, response) {
} else if (urlparts.pathname.indexOf('.html') != -1) {
response.writeHead(200, {'Content-Type': 'text/html'});
} else if (urlparts.pathname.indexOf('.css') != -1) {
response.writeHead(200, {'Content-Type': 'text/stylesheet'});
response.writeHead(200, {'Content-Type': 'text/css'});
}
response.end(data);
} else {
Expand Down

0 comments on commit 5bce9b5

Please sign in to comment.