Commit 24d9a4091189299e9a43fe48be25f593565c1f7b
1 parent
ea3c311267
Exists in
master
and in
1 other branch
minor changes baseurl
Showing
1 changed file
with
6 additions
and
6 deletions
Show diff stats
script.js
... | ... | @@ -53,7 +53,7 @@ |
53 | 53 | $scope.numberCheck = false; |
54 | 54 | // $scope.tokencheck = false; |
55 | 55 | $scope.paymentResult = {}; |
56 | - var BASE_URL = "http://0.0.0.0:4001/api"; | |
56 | + var BASE_URL = "http://139.59.68.74:4001/api"; | |
57 | 57 | var data = { |
58 | 58 | "amount": $scope.payingAmnt, |
59 | 59 | "currency": "INR", |
... | ... | @@ -147,7 +147,7 @@ |
147 | 147 | |
148 | 148 | /*****THIS IS FOR STEP ONE FORM ******/ |
149 | 149 | $scope.next = function() { |
150 | - var BASE_URL = "http://0.0.0.0:4001/api"; | |
150 | + var BASE_URL = "http://139.59.68.74:4001/api"; | |
151 | 151 | $scope.data.status = null |
152 | 152 | if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { |
153 | 153 | var x = document.getElementById("snackbar") |
... | ... | @@ -242,7 +242,7 @@ |
242 | 242 | // }); |
243 | 243 | |
244 | 244 | // } |
245 | - var BASE_URL = "http://0.0.0.0:4001/api"; | |
245 | + var BASE_URL = "http://139.59.68.74:4001/api"; | |
246 | 246 | console.log("BASE_URL", BASE_URL) |
247 | 247 | $scope.infoForm = true; |
248 | 248 | console.log("sdasdasdsa"); |
... | ... | @@ -643,7 +643,7 @@ |
643 | 643 | scotchApp.controller('verifyController', function($scope, $http, $location) { |
644 | 644 | |
645 | 645 | $scope.pendingPaymentId = $location.absUrl().split('=')[1] |
646 | - var BASE_URL = "http://0.0.0.0:4001/api"; | |
646 | + var BASE_URL = "http://139.59.68.74:4001/api"; | |
647 | 647 | $http({ |
648 | 648 | method: "GET", |
649 | 649 | url: BASE_URL + '/applicants/' + $scope.pendingPaymentId, |
... | ... | @@ -668,7 +668,7 @@ |
668 | 668 | |
669 | 669 | $scope.pendingPaymentId = ''; |
670 | 670 | |
671 | - var BASE_URL = "http://0.0.0.0:4001/api"; | |
671 | + var BASE_URL = "http://139.59.68.74:4001/api"; | |
672 | 672 | |
673 | 673 | $scope.update = function() { |
674 | 674 | |
... | ... | @@ -745,7 +745,7 @@ |
745 | 745 | var numberSpliced = randomNumber.slice(2,5); |
746 | 746 | $scope.data.referalToken = nameSpliced+numberSpliced; |
747 | 747 | $scope.data.referalToken = $scope.data.referalToken.toUpperCase(); |
748 | - var BASE_URL = "http://0.0.0.0:4001/api"; | |
748 | + var BASE_URL = "http://139.59.68.74:4001/api"; | |
749 | 749 | $http({ |
750 | 750 | method: 'POST', |
751 | 751 | url: BASE_URL + '/ambassadors', | ... | ... |