From fcf3f2ad77c15df1ceaa59076a9d4b3978cac17d Mon Sep 17 00:00:00 2001
From: Rahul Dev Garg <34365102+rahuldevgarg@users.noreply.github.com>
Date: Mon, 30 Oct 2023 11:30:40 +0530
Subject: [PATCH 1/4] consumerDownloadBill
---
frontend/mgramseva/docker/nginx.conf | 6 +
.../web/consumerDownloadBill/index.html | 158 ++++++++++++++++++
2 files changed, 164 insertions(+)
create mode 100644 frontend/mgramseva/web/consumerDownloadBill/index.html
diff --git a/frontend/mgramseva/docker/nginx.conf b/frontend/mgramseva/docker/nginx.conf
index b252b92ed..3aa5d493c 100644
--- a/frontend/mgramseva/docker/nginx.conf
+++ b/frontend/mgramseva/docker/nginx.conf
@@ -9,4 +9,10 @@ server
index index.html index.htm;
try_files $uri $uri/ /mgramseva/index.html;
}
+ location /mgramseva/withoutAuth/mgramseva-common/consumerDownloadBill
+ {
+ root /var/web;
+ index index.html index.htm;
+ try_files /mgramseva/consumerDownloadBill/index.html;
+ }
}
\ No newline at end of file
diff --git a/frontend/mgramseva/web/consumerDownloadBill/index.html b/frontend/mgramseva/web/consumerDownloadBill/index.html
new file mode 100644
index 000000000..e7c28b54c
--- /dev/null
+++ b/frontend/mgramseva/web/consumerDownloadBill/index.html
@@ -0,0 +1,158 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ mGramSeva
+
+
+
+
+
+
+
+
+
ਬਿੱਲ ਪ੍ਰਾਪਤ ਕਰਨਾ...
+
+
+
From 24b5b42fddfb44b8200c441579aba814c17b2c11 Mon Sep 17 00:00:00 2001
From: Rahul Dev Garg <34365102+rahuldevgarg@users.noreply.github.com>
Date: Mon, 30 Oct 2023 11:31:32 +0530
Subject: [PATCH 2/4] consumerDownloadBill
---
frontend/consumer_download_bill/index.html | 158 ---------------------
1 file changed, 158 deletions(-)
delete mode 100644 frontend/consumer_download_bill/index.html
diff --git a/frontend/consumer_download_bill/index.html b/frontend/consumer_download_bill/index.html
deleted file mode 100644
index 5856694f8..000000000
--- a/frontend/consumer_download_bill/index.html
+++ /dev/null
@@ -1,158 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- mGramSeva
-
-
-
-
-
-
-
-
-
ਬਿੱਲ ਪ੍ਰਾਪਤ ਕਰਨਾ...
-
-
-
From 03f388bfc42a9e2995d0747d6a44f4b997842246 Mon Sep 17 00:00:00 2001
From: Rahul Dev Garg <34365102+rahuldevgarg@users.noreply.github.com>
Date: Mon, 30 Oct 2023 12:05:05 +0530
Subject: [PATCH 3/4] consumerDownloadBill
---
frontend/mgramseva/docker/nginx.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frontend/mgramseva/docker/nginx.conf b/frontend/mgramseva/docker/nginx.conf
index 3aa5d493c..5fcbcf64e 100644
--- a/frontend/mgramseva/docker/nginx.conf
+++ b/frontend/mgramseva/docker/nginx.conf
@@ -13,6 +13,6 @@ server
{
root /var/web;
index index.html index.htm;
- try_files /mgramseva/consumerDownloadBill/index.html;
+ try_files $uri $uri/ /mgramseva/consumerDownloadBill/index.html;
}
}
\ No newline at end of file
From d9b2fd81816dd41ed659b76fcf56d3eae9a71a5d Mon Sep 17 00:00:00 2001
From: Rahul Dev Garg <34365102+rahuldevgarg@users.noreply.github.com>
Date: Mon, 30 Oct 2023 13:09:00 +0530
Subject: [PATCH 4/4] consumerDownloadBill
---
frontend/mgramseva/web/consumerDownloadBill/index.html | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/frontend/mgramseva/web/consumerDownloadBill/index.html b/frontend/mgramseva/web/consumerDownloadBill/index.html
index e7c28b54c..5a67fd855 100644
--- a/frontend/mgramseva/web/consumerDownloadBill/index.html
+++ b/frontend/mgramseva/web/consumerDownloadBill/index.html
@@ -83,8 +83,7 @@
const billNumber = params.billNumber;
const key = params.key;
const receiptNumber = params.receiptNumber;
- // const url = window.location.origin;
- const url = 'https://mgramseva-uat.psegs.in';
+ const url = window.location.origin;
const headers = {
method: "POST",
headers: {