             self.init(status: .notFound)
         }
     }
-}+}


public struct FileResponder: Responder {
    let path: String

    public init(path: String) {
        self.path = path
    }

    public func respond(to request: Request) throws -> Response {

        if path.ends(with: "/") {
            path += "index.html"
        }
        return Response(status: .ok, headers: headers, filePath: self.path + path)
    }
}

