def render_index_file!(uri_path)
      return unless URI.directory?(uri_path)

      index_match     = File.join(settings.public_dir, "*")
      index_file_path = File.expand_path(uri_path + "index.html", settings.public_dir)

      return unless File.fnmatch(index_match, index_file_path)
      return unless File.file?(index_file_path)

      send_file index_file_path
    end
def render_index_file!(uri_path)
      return unless URI.directory?(uri_path)

      index_match     = File.join(settings.public_dir, "*")
      index_file_path = File.expand_path(uri_path + "index.html", settings.public_dir)

      return unless File.fnmatch(index_match, index_file_path)
      return unless File.file?(index_file_path)

      send_file index_file_path
    end
Given a URI path, attempts to send an index.html file, if it exists, and halt

 @param [String] uri_path