ebook-manager/src/Main.hs

12 lines
185 B
Haskell
Raw Normal View History

2018-08-02 21:39:08 +03:00
module Main where
2018-08-02 22:11:11 +03:00
import Server (server)
import Network.Wai.Handler.Warp (run)
2018-08-02 22:32:23 +03:00
import Types
2018-08-02 22:11:11 +03:00
2018-08-02 21:39:08 +03:00
defaultMain :: IO ()
2018-08-02 22:32:23 +03:00
defaultMain = run 8080 (server App)
2018-08-02 21:39:08 +03:00
main :: IO ()
main = defaultMain