Commit 3a7ef791 authored by Caleb Weeks's avatar Caleb Weeks

adding response type to documentation route

parent f6e249ac
......@@ -54,6 +54,7 @@ module.exports.process=function(data, $, cb){
sendError(`Component '${comp.title ? comp.title :''} (${rtype})' : Error reading documentation file.`);
var html=$.templates["doc-page"]({body :, blConfig:$.blConfig, includePreviewControls: pageMode, path : mainPath});
res.setHeader('Content-Type', "text/html; charset=utf-8");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment