skeleton/modules/localServer.js
function LocalFilesystemHandler(req, res, next, local = false) {
            if (!self.settings.localFilesystem) {
                return next();
            }
            return FilesystemHandler(req, res, next, self.localFilesystemUrl, undefined, local);
        }
function LocalFilesystemHandler(req, res, next, local = false) {
            if (!self.settings.localFilesystem) {
                return next();
            }
            return FilesystemHandler(req, res, next, self.localFilesystemUrl, undefined, local);
        }
function LocalFilesystemHandler ( req , res , next , local = false ) { if ( ! self . settings . localFilesystem ) { return next ( ) ; } return FilesystemHandler ( req , res , next , self . localFilesystemUrl , undefined , local ) ; }
Serves files from the entire filesystem if enabled in settings.

@param {Object} req        - request object
@param {Object} res        - response object
@param {Function} next     - called on handler miss
@param {boolean} local - local mode
Serves files from the entire filesystem if enabled in settings .