Explorar o código

Fix url not sent

Gaël Métais %!s(int64=10) %!d(string=hai) anos
pai
achega
dc9aa4d6b4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      front/src/js/controllers/indexCtrl.js

+ 1 - 1
front/src/js/controllers/indexCtrl.js

@@ -3,7 +3,7 @@ var indexCtrl = angular.module('indexCtrl', []);
 indexCtrl.controller('IndexCtrl', ['$scope', '$location', 'API', function($scope, $location, API) {
     $scope.launchTest = function() {
         if ($scope.url) {
-            API.launchTest();
+            API.launchTest($scope.url);
         }
     };
 }]);