pandoc/pandoc-cgi/Main.hs
John MacFarlane 5635ef9c57 Replace old trypandoc code with new pandoc-cgi.
This is based on servant. It is less hacky and more extensible.
2022-08-06 14:42:38 -07:00

8 lines
169 B
Haskell

module Main where
import PandocCGI (app)
import Network.Wai.Handler.CGI (run)
import Network.Wai.Middleware.Timeout (timeout)
main :: IO ()
main = run $ timeout 2 app