Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed an issue with content type being looked up twice

  • Loading branch information...
commit fcf21f2ca5a2af01cdff65ac77f3e3a7826933b6 1 parent 8e34198
@ncrohn ncrohn authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/lib/docpad.coffee
View
2  src/lib/docpad.coffee
@@ -2547,7 +2547,7 @@ class DocPad extends EventEmitterEnhanced
# Content Type
contentType = document.get('contentTypeRendered') or document.get('contentType')
- res.contentType(contentType)
+ res.setHeader('Content-Type', contentType);
# Send
dynamic = document.get('dynamic')
Please sign in to comment.
Something went wrong with that request. Please try again.