code: function addStaticAssetRoute(server, scaffold) {
          assert(scaffold.path, `TransomScaffold staticRoute requires "path" to be specified.`);
  
          const contentFolder = scaffold.folder || path.sep;
          const serveStatic = scaffold.serveStatic || restify.plugins.serveStatic;
          const defaultAsset = scaffold.defaultAsset || 'index.html';
          const appendRequestPath = (scaffold.appendRequestPath  === false ? false : true); // default true
  
          // When we are running tests, the path to our assets will be different. 
          // We create the path using NODE_ENV which should be set to TESTING.
          let directory = path.join(__dirname, '..', '..', '..', '..', contentFolder);
          if ((process.env.NODE_ENV || '').toUpperCase() === 'TESTING') {
              directory = path.join(__dirname, "..", contentFolder);
          }
          debug(`Path ${scaffold.path} is serving static assets from ${directory}`);
  
          server.get(scaffold.path, serveStatic({
              directory,
              appendRequestPath,
              default: defaultAsset
          }));
      }
docs: Add a GET route to the server to handle static assets.
  
  @param {*} server  - Restify server instance
  @param {*} scaffold - Object from the staticRoutes array.