mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-10 14:16:41 +03:00
web: quick fix for bad localhost redirect
This commit is contained in:
parent
40f61be1e3
commit
6d931ce54d
@ -134,7 +134,7 @@ server opts args l =
|
||||
get "/params" $ getenv >>= (text . show . Hack.Contrib.Request.params)
|
||||
get "/inputs" $ getenv >>= (text . show . Hack.Contrib.Request.inputs)
|
||||
public (Just "Commands/Web") ["/static"]
|
||||
get "/" $ redirect (homeurl++"balance") Nothing
|
||||
get "/" $ redirect ("balance") Nothing
|
||||
) env
|
||||
|
||||
ledgerpage :: [String] -> Ledger -> (Ledger -> String) -> AppUnit
|
||||
|
Loading…
Reference in New Issue
Block a user