diff --git a/script.js b/script.js index dbe168f..48a5b61 100644 --- a/script.js +++ b/script.js @@ -53,7 +53,7 @@ $scope.numberCheck = false; // $scope.tokencheck = false; $scope.paymentResult = {}; - var BASE_URL = "http://0.0.0.0:4001/api"; + var BASE_URL = "http://139.59.68.74:4001/api"; var data = { "amount": $scope.payingAmnt, "currency": "INR", @@ -147,7 +147,7 @@ /*****THIS IS FOR STEP ONE FORM ******/ $scope.next = function() { - var BASE_URL = "http://0.0.0.0:4001/api"; + var BASE_URL = "http://139.59.68.74:4001/api"; $scope.data.status = null if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { var x = document.getElementById("snackbar") @@ -242,7 +242,7 @@ // }); // } - var BASE_URL = "http://0.0.0.0:4001/api"; + var BASE_URL = "http://139.59.68.74:4001/api"; console.log("BASE_URL", BASE_URL) $scope.infoForm = true; console.log("sdasdasdsa"); @@ -642,7 +642,7 @@ scotchApp.controller('verifyController', function($scope, $http, $location, $route) { $scope.pendingPaymentId = $route.current.params.id - var BASE_URL = "http://0.0.0.0:4001/api"; + var BASE_URL = "http://139.59.68.74:4001/api"; $http({ method: "GET", url: BASE_URL + '/applicants/' + $scope.pendingPaymentId, @@ -668,7 +668,7 @@ $scope.pendingPaymentId = ''; - var BASE_URL = "http://0.0.0.0:4001/api"; + var BASE_URL = "http://139.59.68.74:4001/api"; $scope.update = function() { @@ -745,7 +745,7 @@ var numberSpliced = randomNumber.slice(2,5); $scope.data.referalToken = nameSpliced+numberSpliced; $scope.data.referalToken = $scope.data.referalToken.toUpperCase(); - var BASE_URL = "http://0.0.0.0:4001/api"; + var BASE_URL = "http://139.59.68.74:4001/api"; $http({ method: 'POST', url: BASE_URL + '/ambassadors',