case class FilesOptions[F[_]](calculateETag: MonadError[F] => File => F[Option[ETag]], fileFilter: List[String] => Boolean, defaultFile: Option[List[String]])
Attributes
defaultFile
path segments (relative to the system path from which files are read) of the file to return in case the one requested by the user
isn't found. This is useful for SPA apps, where the same main application file needs to be returned regardless of the path.
fileFilter
A file will be exposed only if this function returns true.
Path segments (relative to the system path from which files are read) of the file to return in case the one requested by the user
isn't found. This is useful for SPA apps, where the same main application file needs to be returned regardless of the path.
Path segments (relative to the system path from which files are read) of the file to return in case the one requested by the user
isn't found. This is useful for SPA apps, where the same main application file needs to be returned regardless of the path.