mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-27 12:24:43 +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