'use strict'; const http = require('http'); // ---------------------------------------------------------------------- const hostname = '0.0.0.0'; const port = 3000; // ---------------------------------------------------------------------- var siteinfo = require('./siteinfo.js'); // ---------------------------------------------------------------------- function getPage(req) { var route = req.url.substring(1); var website = siteinfo.site_info(req); var ga_tracking_stub = siteinfo.site_ga_stub(req); console.log(`Serving route ${route}`); var page = `