lib/routing.js
function addStaticRoute(routePath, targets) {
		if (!Object.isArray(targets)) {
			targets = [targets];
		}
		targets.forEach(function(target) {
			if (target)
				app.use(routePath, app.middleware.static(path.resolve(config.rootDir, target)));
		});
	}
function addStaticRoute(routePath, targets) {
		if (!Object.isArray(targets)) {
			targets = [targets];
		}
		targets.forEach(function(target) {
			if (target)
				app.use(routePath, app.middleware.static(path.resolve(config.rootDir, target)));
		});
	}
function addStaticRoute ( routePath , targets ) { if ( ! Object . isArray ( targets ) ) { targets = [ targets ] ; } targets . forEach ( function ( target ) { if ( target ) app . use ( routePath , app . middleware . static ( path . resolve ( config . rootDir , target ) ) ) ; } ) ; }
add a static route
@param {String} routePath route path
@param {String} target    target path (relative to the scarab root)
add a static route