Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: dfbdebc754
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (12 sloc) 0.363 kb
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE OverloadedStrings #-}
import Network.Wai.Application.Static
import Network.Wai.Handler.Warp (run)
import Data.FileEmbed
import WaiAppStatic.Types
import WaiAppStatic.Storage.Embedded
main :: IO ()
main = run 3000 $ staticApp (embeddedSettings $(embedDir "test"))
{ ssIndices = []
, ssMaxAge = NoMaxAge
}
Jump to Line
Something went wrong with that request. Please try again.