homepage: https://github.com/adamse/network-wai-static-embedded#readme
changelog-type: ''
hash: db0b8938663e91e631f8ce79571d14522db7af03f58245fffba769995bb90fb5
test-bench-deps: {}
maintainer: adam@sandbergericsson.se
synopsis: Serve embedded static files as a Wai middleware
changelog: ''
basic-deps:
  bytestring: -any
  wai: -any
  base: ! '>=4.7 && <5'
  text: -any
  memory: -any
  mime-types: -any
  cryptonite: -any
  wai-extra: -any
  http-types: -any
all-versions:
- '0.1.0.0'
author: Adam Sandberg Eriksson
latest: '0.1.0.0'
description-type: markdown
description: ! "# Static embedded middleware\n\nA `middleware` to serve static files
  from memory. Works particularly\nwell with `file-embed`.\n\n## Example usage\n\n```haskell\n{-#
  LANGUAGE OverloadedStrings #-}\n{-# LANGUAGE TemplateHaskell #-}\n\nimport Network.Wai.Middleware.StaticEmbedded
  -- This package\nimport Data.FileEmbed -- file-embed\nimport Web.Scotty -- scotty\n\nmain
  :: IO ()\nmain = scotty 1337 $ do\n  middleware (static $(embedDir \".\")) -- serves
  the source directory\n  notFound (text \"404: Not found!\")\n```\n"
license-name: BSD3

Update from Hackage at 2017-04-27T21:20:17Z
Update from Hackage at 2017-04-27T21:20:17Z
