diff --git a/scripts/app.js b/scripts/app.js index 44db350..daf530b 100644 --- a/scripts/app.js +++ b/scripts/app.js @@ -18,7 +18,7 @@ app.controller("mates", ["$scope", "$http", "$interval", function($scope, $http, $scope.lastMate = ""; - $http.get("/mates") + $http.get("mates") .then((r) => { var json = angular.fromJson(r.data); @@ -33,7 +33,7 @@ app.controller("mates", ["$scope", "$http", "$interval", function($scope, $http, // Don't bother updating during a cooldown if ($scope.cooldown) return; - $http.post("/mates") + $http.post("mates") .then((r) => { var json = angular.fromJson(r.data);