change apis to qa links

This commit is contained in:
Pritimay Sarkar
2023-11-07 10:52:33 +05:30
parent eb975ce11a
commit 260e6ec734
2 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ function ExportData({ url, show }) {
const [endDate, setEndDate] = useState(""); const [endDate, setEndDate] = useState("");
const fetchFile = (start_date, end_date) => { const fetchFile = (start_date, end_date) => {
window.location.href = `https://asia-south1-hpos-preprod.cloudfunctions.net/consolidation?start_date=${moment(startDate).format("YYYY-MM-DD")}&end_date=${moment(endDate).format("YYYY-MM-DD")}`; window.location.href = `https://asia-south1-hpos-qa.cloudfunctions.net/consolidation?start_date=${moment(startDate).format("YYYY-MM-DD")}&end_date=${moment(endDate).format("YYYY-MM-DD")}`;
} }
return ( return (

View File

@@ -16,7 +16,7 @@ function Registration() {
setCounter(counter + 1); setCounter(counter + 1);
axios({ axios({
method: 'post', method: 'post',
url: "https://asia-south1-hpos-preprod.cloudfunctions.net/registerUser", url: "https://asia-south1-hpos-qa.cloudfunctions.net/registerUser",
data: { data: {
"_id": id, "_id": id,
"aadharId": "2808202300001", "aadharId": "2808202300001",
@@ -65,7 +65,7 @@ function Registration() {
setMessage(""); setMessage("");
axios({ axios({
method: 'get', method: 'get',
url: "https://asia-south1-hpos-preprod.cloudfunctions.net/clearUsers", url: "https://asia-south1-hpos-qa.cloudfunctions.net/clearUsers",
withCredentials: false, withCredentials: false,
secure: false, secure: false,
headers: { headers: {