No title

Anonymous Coward 2018-03-05 17:42:04.321628 UTC

1
2
3--works
4app :: SpockM () Session AppState ()
5app =
6 do get "about" $ text "hello"
7 middleware $ staticPolicy $ addBase "assets"
8
9
10--does not work
11app :: SpockM () Session AppState ()
12app =
13 do get "about" $ text "hello"
14 get "assets" $ middleware $ staticPolicy $ addBase "assets"