about summary refs log tree commit diff
path: root/frontend/Main.elm
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/Main.elm')
-rw-r--r--frontend/Main.elm4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/Main.elm b/frontend/Main.elm
index 9f90476f62cf..e449908e499c 100644
--- a/frontend/Main.elm
+++ b/frontend/Main.elm
@@ -64,7 +64,7 @@ loadTasks : Cmd Msg
 loadTasks =
     let
         request =
-            Http.get "http://localhost:4242/tasks" (list decodeTask)
+            Http.get "/tasks" (list decodeTask)
     in
         Http.send NewTasks request
 
@@ -75,7 +75,7 @@ completeTask task =
         request =
             Http.getString
                 (String.concat
-                    [ "http://localhost:4242/complete?task="
+                    [ "/complete?task="
                     , task.name
                     ]
                 )