From 24d9a4091189299e9a43fe48be25f593565c1f7b Mon Sep 17 00:00:00 2001 From: palak Date: Sat, 9 Sep 2017 14:26:57 +0530 Subject: [PATCH] minor changes baseurl --- script.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/script.js b/script.js index 1a1e80e..7eb5cda 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"); @@ -643,7 +643,7 @@ scotchApp.controller('verifyController', function($scope, $http, $location) { $scope.pendingPaymentId = $location.absUrl().split('=')[1] - 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', -- 2.0.0