web: quick fix for bad localhost redirect

This commit is contained in:
Simon Michael 2009-09-23 22:32:52 +00:00
parent 40f61be1e3
commit 6d931ce54d

View File

@ -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