Skip to content

Node.js based forum software built for the modern web

son whitespace conflicts are so 1765

Baris Usakli64a9e5844db0
diff --cc src/webserver.js
index 29a3d71c4b,e39c6b27d2..66eb93ae9a
--- a/src/webserver.js
+++ b/src/webserver.js
@@@ -159,9 -158,8 +159,8 @@@ var express = require('express')
var category_url = cid + (req.params.slug ? '/' + req.params.slug : '');
categories.getCategoryById(cid, 0, function(returnData) {
- console.log(returnData);
res.send(
- app.build_header() +
+ app.build_header(res) +
'\n\t<noscript>\n' + templates['noscript/header'] + templates['noscript/category'].parse(returnData) + '\n\t</noscript>' +
'\n\t<script>templates.ready(function(){ajaxify.go("category/' + category_url + '");});</script>' +
templates['footer']