Module

StaticServe

Package
purescript-static-serve
Repository
oreshinya/purescript-static-serve

#Settings Source

type Settings = { historyAPIFallback :: Boolean, maxAge :: Int, root :: String }

#staticHandler Source

staticHandler :: forall e. Settings -> (Request -> Response -> Eff (fs :: FS, http :: HTTP, locale :: LOCALE | e) Unit)