code: function addSiteData(site) {
    return (req, res, next) => {
      res.locals.url = uriToUrl(req.hostname + req.originalUrl, site.protocol, site.port);
      res.locals.site = site;
  
      next();
    };
  }
docs: Add site data to locals for each site
  @param {Object} site
  @returns {Function}