mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 07:09:28 +03:00
web: Controller -> AppRun
This commit is contained in:
parent
910e5c2bee
commit
6c6e6d4caa
@ -2,7 +2,7 @@
|
||||
{-# LANGUAGE MultiParamTypeClasses #-}
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
{-# OPTIONS_GHC -fno-warn-orphans #-}
|
||||
module Controller
|
||||
module AppRun
|
||||
( withApp
|
||||
, withDevelApp
|
||||
) where
|
@ -101,7 +101,7 @@ library
|
||||
else
|
||||
Buildable: False
|
||||
exposed-modules:
|
||||
Controller
|
||||
AppRun
|
||||
other-modules:
|
||||
App
|
||||
EmbeddedFiles
|
||||
|
@ -8,7 +8,6 @@ Released under GPL version 3 or later.
|
||||
module Main
|
||||
where
|
||||
|
||||
import Controller (withApp)
|
||||
import Network.Wai.Handler.Warp (run)
|
||||
#if PRODUCTION
|
||||
#else
|
||||
@ -30,6 +29,7 @@ import Hledger.Data
|
||||
import Hledger.Data.UTF8 (putStr, putStrLn)
|
||||
|
||||
import App
|
||||
import AppRun (withApp)
|
||||
import EmbeddedFiles (createFilesIfMissing)
|
||||
import Settings (defhost, defport, datadir, staticdir) -- , browserstartdelay)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user