|
@ -204,10 +204,9 @@ module.exports = |
|
|
{ |
|
|
{ |
|
|
result.writeHead(200, {'Content-Type': 'text/html'}); |
|
|
result.writeHead(200, {'Content-Type': 'text/html'}); |
|
|
|
|
|
|
|
|
console.log("eh"); |
|
|
|
|
|
var templateContext = Object(); |
|
|
var templateContext = Object(); |
|
|
Promise.all([includes.fetchTemplate(TEMPLATE_FILE), |
|
|
Promise.all([includes.fetchTemplate(TEMPLATE_FILE), |
|
|
processContactPage(request), |
|
|
|
|
|
|
|
|
processContactPage(request, templateContext), |
|
|
includes.printHeader(templateContext), |
|
|
includes.printHeader(templateContext), |
|
|
includes.printFooter(templateContext), |
|
|
includes.printFooter(templateContext), |
|
|
require("./sidebar.js").main(templateContext)]) |
|
|
require("./sidebar.js").main(templateContext)]) |
|
|