]> gitweb @ CieloNegro.org - Lucu.git/blobdiff - Network/HTTP/Lucu/StaticFile.hs
Still making many changes...
[Lucu.git] / Network / HTTP / Lucu / StaticFile.hs
index 8f93513659affc2dbf5c0ddbe31fe27eab6929ae..c227205a3759a6df79fbe2eb9498c2c46eba9fe0 100644 (file)
@@ -72,7 +72,7 @@ handleStaticFile sendContent path
            Just mime → setContentType mime
 
          when sendContent
-             $ liftIO (B.readFile path) ≫= output
+             $ liftIO (B.readFile path) ≫= putChunk
 
 -- |@'generateETagFromFile' fpath@ generates a strong entity tag from
 -- a file. The file doesn't necessarily have to be a regular file; it