diff options
author | Joris | 2015-09-09 21:35:29 +0200 |
---|---|---|
committer | Joris | 2015-09-09 21:35:29 +0200 |
commit | 984356c796963bcba44dcbe261e460bd37385c35 (patch) | |
tree | 093c6ede90a77ca6f497aa23c7c13e95f6f2040b /src/server/Main.hs | |
parent | 0e85e2815f5bb0ab8b5fb8156bd772b4a7743f13 (diff) |
Authorizing refunds (negative payments) but stop authorizing null payments
Diffstat (limited to 'src/server/Main.hs')
-rw-r--r-- | src/server/Main.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/server/Main.hs b/src/server/Main.hs index 1c2bc08..1a151fc 100644 --- a/src/server/Main.hs +++ b/src/server/Main.hs @@ -22,15 +22,14 @@ import Config main :: IO () main = do + runMigrations _ <- forkIO monthlyPaymentJobListener eitherConfig <- getConfig "config.txt" case eitherConfig of Left errorMessage -> TIO.putStrLn errorMessage Right config -> do - runMigrations scotty (port config) $ do - middleware $ staticPolicy (noDots >-> addBase "public") |