Update static/js/home.js
Browse files- static/js/home.js +3 -4
static/js/home.js
CHANGED
@@ -1018,8 +1018,8 @@ else if (selectedFeature.feature === 'venues') {
|
|
1018 |
return response.json();
|
1019 |
}
|
1020 |
} ).then(data1 =>{
|
1021 |
-
|
1022 |
-
window.location.href =
|
1023 |
console.log(secureUrl);
|
1024 |
// fetch(secureUrl, {
|
1025 |
// method: 'GET',
|
@@ -1069,8 +1069,7 @@ else if (selectedFeature.feature === 'venues') {
|
|
1069 |
return response.json();
|
1070 |
}
|
1071 |
} ).then(data1 =>{
|
1072 |
-
|
1073 |
-
window.location.href = secureUrl.redirect;
|
1074 |
console.log(secureUrl);
|
1075 |
} )
|
1076 |
});
|
|
|
1018 |
return response.json();
|
1019 |
}
|
1020 |
} ).then(data1 =>{
|
1021 |
+
|
1022 |
+
window.location.href = data1.redirect;
|
1023 |
console.log(secureUrl);
|
1024 |
// fetch(secureUrl, {
|
1025 |
// method: 'GET',
|
|
|
1069 |
return response.json();
|
1070 |
}
|
1071 |
} ).then(data1 =>{
|
1072 |
+
window.location.href = data1.redirect;
|
|
|
1073 |
console.log(secureUrl);
|
1074 |
} )
|
1075 |
});
|