api.rauhala.info/executables/api.hs

9 lines
169 B
Haskell
Raw Normal View History

2018-09-24 23:36:26 +03:00
module Main where
import Server
import Network.Wai.Handler.Warp
import Network.Wai.Middleware.Cors (simpleCors)
main :: IO ()
main = run 8081 (simpleCors application)