Permalink
Browse files

Adding less extension to MimeTypes.cs

I want to use less.js in development of a new site and currently *.less
files are being returned as 'application/octet-stream' they should be
reutrned as 'text/css'.
  • Loading branch information...
1 parent 1a7679e commit 774e3b45dfa100504b9efb96f3e0c7de219fd035 @adamclerk adamclerk committed Dec 21, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/Nancy/MimeTypes.cs
View
@@ -220,6 +220,7 @@ static MimeTypes ()
mimeTypes.Add ("la", "audio/nspaudio");
mimeTypes.Add ("lam", "audio/x-liveaudio");
mimeTypes.Add ("latex", "application/x-latex");
+ mimeTypes.Add ("less", "text/css");
mimeTypes.Add ("list", "text/plain");
mimeTypes.Add ("lma", "audio/nspaudio");
mimeTypes.Add ("log", "text/plain");

0 comments on commit 774e3b4

Please sign in to comment.