add dev web app
This commit is contained in:
@@ -10,6 +10,9 @@
|
||||
],
|
||||
"qa": [
|
||||
"hpos-qa"
|
||||
],
|
||||
"dev": [
|
||||
"hpos-dev"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,6 +30,6 @@
|
||||
|
||||
### deploy
|
||||
|
||||
firebase deploy --only hosting:dev1
|
||||
firebase deploy --only hosting:dev
|
||||
|
||||
pyinstaller --noconfirm --noconsole -i "smi.ico" --windowed --clean hemocube.py
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"hosting": {
|
||||
"target": "qa",
|
||||
"target": "dev",
|
||||
"public": "build",
|
||||
"ignore": [
|
||||
"firebase.json",
|
||||
|
||||
@@ -34,7 +34,7 @@ function Accuracy({ show }) {
|
||||
'YYYY-MM-DD'
|
||||
)}&end_date=${moment(endDate).format('YYYY-MM-DD')}`;
|
||||
|
||||
const url = `https://asia-south1-hpos-qa.cloudfunctions.net/performance?${queryString}`;
|
||||
const url = `https://asia-south1-hpos-af3cc.cloudfunctions.net/performance?${queryString}`;
|
||||
|
||||
// Make a POST request using the Fetch API
|
||||
const response = await fetch(url, {
|
||||
|
||||
@@ -11,7 +11,7 @@ function ExportData({ url, show }) {
|
||||
const [endDate, setEndDate] = useState("");
|
||||
|
||||
const fetchFile = (start_date, end_date) => {
|
||||
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")}`;
|
||||
window.location.href = `https://asia-south1-hpos-af3cc.cloudfunctions.net/consolidation?start_date=${moment(startDate).format("YYYY-MM-DD")}&end_date=${moment(endDate).format("YYYY-MM-DD")}`;
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
@@ -16,7 +16,7 @@ function Registration() {
|
||||
setCounter(counter + 1);
|
||||
axios({
|
||||
method: 'post',
|
||||
url: "https://asia-south1-hpos-qa.cloudfunctions.net/registerUser",
|
||||
url: "https://asia-south1-hpos-af3cc.cloudfunctions.net/registerUser",
|
||||
data: {
|
||||
"_id": id,
|
||||
"aadharId": "2808202300001",
|
||||
@@ -65,7 +65,7 @@ function Registration() {
|
||||
setMessage("");
|
||||
axios({
|
||||
method: 'get',
|
||||
url: "https://asia-south1-hpos-qa.cloudfunctions.net/clearUsers",
|
||||
url: "https://asia-south1-hpos-af3cc.cloudfunctions.net/clearUsers",
|
||||
withCredentials: false,
|
||||
secure: false,
|
||||
headers: {
|
||||
|
||||
@@ -16,7 +16,7 @@ const Topbar = () => {
|
||||
>
|
||||
<Toolbar>
|
||||
<Typography variant="h6">
|
||||
HPOS Web - Quality / QA
|
||||
HPOS Web - Dev
|
||||
</Typography>
|
||||
</Toolbar>
|
||||
</AppBar>
|
||||
|
||||
@@ -3,27 +3,27 @@ import { getFirestore} from "firebase/firestore";
|
||||
import { initializeApp } from "firebase/app";
|
||||
import { getAnalytics } from "firebase/analytics";
|
||||
|
||||
// /* dev and test */
|
||||
// const firebaseConfig = {
|
||||
// apiKey: "AIzaSyBFl_YkJ5PMIvMY3G70313SyrqemjFnUv8",
|
||||
// authDomain: "hpos-af3cc.firebaseapp.com",
|
||||
// projectId: "hpos-af3cc",
|
||||
// storageBucket: "hpos-af3cc.appspot.com",
|
||||
// messagingSenderId: "650071678820",
|
||||
// appId: "1:650071678820:web:ce50538bf46632d46c6471",
|
||||
// measurementId: "G-6JHQ47S9DD"
|
||||
// };
|
||||
|
||||
/* qa: hpos-qa */
|
||||
/* dev and test */
|
||||
const firebaseConfig = {
|
||||
apiKey: "AIzaSyCF7BNZ5vOMQIpKRi_vxquzWP5pIjcb59I",
|
||||
authDomain: "hpos-qa.firebaseapp.com",
|
||||
projectId: "hpos-qa",
|
||||
storageBucket: "hpos-qa.appspot.com",
|
||||
messagingSenderId: "1004619739289",
|
||||
appId: "1:1004619739289:web:c3ee0c0127f0d073e5c808",
|
||||
measurementId: "G-4MSTJHE64W"
|
||||
};
|
||||
apiKey: "AIzaSyBFl_YkJ5PMIvMY3G70313SyrqemjFnUv8",
|
||||
authDomain: "hpos-af3cc.firebaseapp.com",
|
||||
projectId: "hpos-af3cc",
|
||||
storageBucket: "hpos-af3cc.appspot.com",
|
||||
messagingSenderId: "650071678820",
|
||||
appId: "1:650071678820:web:ce50538bf46632d46c6471",
|
||||
measurementId: "G-6JHQ47S9DD"
|
||||
};
|
||||
|
||||
// /* qa: hpos-qa */
|
||||
// const firebaseConfig = {
|
||||
// apiKey: "AIzaSyCF7BNZ5vOMQIpKRi_vxquzWP5pIjcb59I",
|
||||
// authDomain: "hpos-qa.firebaseapp.com",
|
||||
// projectId: "hpos-qa",
|
||||
// storageBucket: "hpos-qa.appspot.com",
|
||||
// messagingSenderId: "1004619739289",
|
||||
// appId: "1:1004619739289:web:c3ee0c0127f0d073e5c808",
|
||||
// measurementId: "G-4MSTJHE64W"
|
||||
// };
|
||||
|
||||
|
||||
// /* preprod */
|
||||
|
||||
Reference in New Issue
Block a user