aboutsummaryrefslogtreecommitdiffstats
path: root/backend/lib/ACMS/API/REST.hs
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2024-10-13 12:16:27 +0200
committerLibravatar Alexander Foremny <aforemny@posteo.de>2024-10-13 12:16:27 +0200
commitcf9b3887a46de7419c278126d09e14a228126e2d (patch)
tree4e77d19560d22035e10692332410334678046fe5 /backend/lib/ACMS/API/REST.hs
parentd00e385942a90e7e0600ee878db5d6c9120a6558 (diff)
fix docs/get-started-cli
Diffstat (limited to 'backend/lib/ACMS/API/REST.hs')
-rw-r--r--backend/lib/ACMS/API/REST.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/lib/ACMS/API/REST.hs b/backend/lib/ACMS/API/REST.hs
index ec72db9..44c307c 100644
--- a/backend/lib/ACMS/API/REST.hs
+++ b/backend/lib/ACMS/API/REST.hs
@@ -21,7 +21,7 @@ import Miso.String (MisoString)
restRequest :: String -> Request
restRequest endpoint =
- fromString ("http://localhost:8081/api/rest/" <> endpoint)
+ fromString ("http://localhost:8081/api/rest" <> endpoint)
schemaVersion :: (APIMonad m, A.FromJSON a) => m a
schemaVersion =