Redundant chooseRep (thanks Tyson Whitehead)
This commit is contained in:
parent
709d9b7547
commit
cc813d9201
@ -400,7 +400,7 @@ runHandler handler mrender sroute tomr ma sa =
|
||||
return $ YARPlain H.status200 (headers []) ct (ContentFile fp p) finalSession
|
||||
case contents of
|
||||
HCContent status a -> do
|
||||
(ct, c) <- liftIO $ chooseRep a cts
|
||||
(ct, c) <- liftIO $ a cts
|
||||
return $ YARPlain status (headers []) ct c finalSession
|
||||
HCError e -> handleError e
|
||||
HCRedirect rt loc -> do
|
||||
|
||||
Loading…
Reference in New Issue
Block a user