Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #109 from Financial-Times/matthew-andrews-patch-1
Browse files Browse the repository at this point in the history
JASON!
  • Loading branch information
wheresrhys committed May 22, 2015
2 parents a3996ba + ec6e872 commit 2e2663f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/determine-content-type.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ module.exports = function(name) {
switch(extname(name).substring(1)) {
default:
throw new Error("ContentType undetermined for " + name);
case 'json':
return 'application/json';
case 'js':
return 'text/javascript';
case 'css':
Expand Down

0 comments on commit 2e2663f

Please sign in to comment.