mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-25 19:31:44 +03:00
web: be less verbose about web files source, mention it only in dev mode
This commit is contained in:
parent
c9b6dd8819
commit
b06c96c04c
@ -23,10 +23,10 @@ staticSite :: IO Static.Static
|
||||
staticSite =
|
||||
if development
|
||||
then (do
|
||||
putStrLn ("using web files from: " ++ staticDir ++ "/") >> hFlush stdout
|
||||
putStrLn ("Using web files from: " ++ staticDir ++ "/") >> hFlush stdout
|
||||
Static.staticDevel staticDir)
|
||||
else (do
|
||||
putStrLn "using built-in web files" >> hFlush stdout
|
||||
-- putStrLn "Using built-in web files" >> hFlush stdout
|
||||
return $(Static.embed staticDir))
|
||||
|
||||
$(publicFiles staticDir)
|
||||
|
Loading…
Reference in New Issue
Block a user