]> gitweb @ CieloNegro.org - Lucu.git/blobdiff - Network/HTTP/Lucu/Postprocess.hs
Use blaze-html instead of HXT.
[Lucu.git] / Network / HTTP / Lucu / Postprocess.hs
index 09665c62c4fe9e2c6f8ee398fbcc1a9c53f5cfb4..a8359758f9d90eaf107f58fc2bb4cf008b611cac 100644 (file)
@@ -108,7 +108,7 @@ writeDefaultPageIfNeeded ni@(NI {..})
              $ do writeHeader ni "Content-Type" $ Just defaultPageContentType
                   writeHeader ni "Content-Encoding" Nothing
                   res ← readTVar niResponse
-                  let body = getDefaultPage niConfig (Just niRequest) res
+                  let body = defaultPageForResponse niConfig (Just niRequest) res
                   putTMVar niBodyToSend body
 
 completeUnconditionalHeaders ∷ NormalInteraction → STM ()