Print the server url on start
This commit is contained in:
parent
fefa79c181
commit
88b7c1a434
4
Main.hs
4
Main.hs
@ -1,5 +1,4 @@
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
module Main where
|
||||
|
||||
import Application
|
||||
import Breve.Common
|
||||
@ -10,5 +9,6 @@ import Network.Wai.Middleware.RequestLogger
|
||||
|
||||
main :: IO ()
|
||||
main = do
|
||||
(_, settings) <- serverSettings
|
||||
(url, settings) <- serverSettings
|
||||
putStrLn ("Serving on " ++ url)
|
||||
app (runSettings settings . logStdout)
|
Loading…
Reference in New Issue
Block a user