lib/render.js
function getExpressRoutePrefix(site) {
  let prefix = site.host;

  if (site.path.length > 1) {
    prefix += site.path;
  }

  return prefix;
}
function getExpressRoutePrefix(site) {
  let prefix = site.host;

  if (site.path.length > 1) {
    prefix += site.path;
  }

  return prefix;
}
function getExpressRoutePrefix ( site ) { let prefix = site . host ; if ( site . path . length > 1 ) { prefix += site . path ; } return prefix ; }
Get the prefix that normalizes the slash on the path with the expectation that references to routes using the prefix
will start with a slash as well.

@param {object} site
@returns {string}
Get the prefix that normalizes the slash on the path with the expectation that references to routes using the prefix will start with a slash as well .