Placed App after mkYesod in the RawResponse test.
This commit is contained in:
parent
e77f6bd709
commit
5375bacf81
@ -24,14 +24,14 @@ import Data.Streaming.Network (bindPortTCP)
|
|||||||
import Network.HTTP.Types (status200)
|
import Network.HTTP.Types (status200)
|
||||||
import Blaze.ByteString.Builder (fromByteString)
|
import Blaze.ByteString.Builder (fromByteString)
|
||||||
|
|
||||||
data App = App
|
|
||||||
|
|
||||||
mkYesod "App" [parseRoutes|
|
mkYesod "App" [parseRoutes|
|
||||||
/ HomeR GET
|
/ HomeR GET
|
||||||
/wai-stream WaiStreamR GET
|
/wai-stream WaiStreamR GET
|
||||||
/wai-app-stream WaiAppStreamR GET
|
/wai-app-stream WaiAppStreamR GET
|
||||||
|]
|
|]
|
||||||
|
|
||||||
|
data App = App
|
||||||
|
|
||||||
instance Yesod App
|
instance Yesod App
|
||||||
|
|
||||||
getHomeR :: Handler ()
|
getHomeR :: Handler ()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user