diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/Main.hs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app/Main.hs b/app/Main.hs index 46bd5a3..c67fe9c 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -1,6 +1,6 @@ module Main where -import Lib +import ImageHoster import Control.Exception import Data.Aeson import Data.Maybe @@ -14,6 +14,4 @@ loadSettings = do main :: IO () -main = do - settings <- loadSettings - runApp settings imgHostMain +main = loadSettings >>= run imgHostMain |