diff options
author | Guillermo Ramos | 2025-03-07 00:11:17 +0100 |
---|---|---|
committer | Guillermo Ramos | 2025-03-07 00:11:56 +0100 |
commit | 540828922a768cc7c08db82e6d7e91b9bee9ea18 (patch) | |
tree | c88892cae4435d0b9d4f6037872d2b272b51b418 | |
parent | 4316c73c352ce52de4494b22001f34cd0681831b (diff) | |
download | hiccup-540828922a768cc7c08db82e6d7e91b9bee9ea18.tar.gz |
Fix API call
-rw-r--r-- | front/src/Main.elm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/front/src/Main.elm b/front/src/Main.elm index ca81647..52bc4c9 100644 --- a/front/src/Main.elm +++ b/front/src/Main.elm @@ -178,7 +178,7 @@ parseMortgageSpecs { totalValue, financedRate, i1, years } = mortgageSpecsToURL : MortgageSpecs -> String mortgageSpecsToURL { principal, i1, years } = - UB.absolute [ "/api/simulate" ] + UB.absolute [ "api", "simulate" ] [ UB.string "principal" (String.fromFloat principal) , UB.string "i1" (String.fromFloat (i1 / 100)) , UB.int "years" years |