From 2f792323ea47d67c42c89d3488744e52f3ef8e18 Mon Sep 17 00:00:00 2001 From: Kunal Verma Date: Fri, 4 Nov 2022 13:40:02 +0530 Subject: [PATCH] Update files Signed-off-by: Kunal Verma --- README.md | 4 ++-- client/app.js | 2 +- client/cancel.html | 2 +- client/success.html | 2 +- client/workshops/workshop1.html | 2 +- client/workshops/workshop2.html | 2 +- client/workshops/workshop3.html | 2 +- server.js | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index a1f6ef1..6b58cf7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ -# Stripe-Payment-Integration -Sign-Up form with Stripe payment gateway +# AWS Deployment Automation +Deployment automation on AWS using Jenkins CI/CD diff --git a/client/app.js b/client/app.js index bfc47c4..3914778 100644 --- a/client/app.js +++ b/client/app.js @@ -6,7 +6,7 @@ var btnWorshop3 = document.getElementById("work-3"); // __________________________________________________________________ -var URL = "https://kube-workshop.herokuapp.com"; +var URL = "http://localhost:3000"; btnWorshop1.addEventListener("click", function (e) { e.preventDefault(); diff --git a/client/cancel.html b/client/cancel.html index 6676005..3520718 100644 --- a/client/cancel.html +++ b/client/cancel.html @@ -33,7 +33,7 @@

Error ⚠️

btn.addEventListener("click", function (e) { e.preventDefault(); - location.href = "https://kube-workshop.herokuapp.com"; + location.href = "http://localhost:3000"; }); diff --git a/client/success.html b/client/success.html index 1029527..341ea3a 100644 --- a/client/success.html +++ b/client/success.html @@ -58,7 +58,7 @@

Success 🎉

btn.addEventListener("click", function (e) { e.preventDefault(); - location.href = "https://kube-workshop.herokuapp.com"; + location.href = "http://localhost:3000"; }); diff --git a/client/workshops/workshop1.html b/client/workshops/workshop1.html index 923f7b4..993988c 100644 --- a/client/workshops/workshop1.html +++ b/client/workshops/workshop1.html @@ -538,7 +538,7 @@

Speaker

} // Setting this PriceId here: - var priceId = "price_1Lp5A6SCC8JVWfvgGEkl8dKT"; + var priceId = "price_1M0KsTSCC8JVWfvgLwfKxX53"; fetch("/create-checkout-session/" + priceId, { method: "POST", diff --git a/client/workshops/workshop2.html b/client/workshops/workshop2.html index 7886991..4a243b6 100644 --- a/client/workshops/workshop2.html +++ b/client/workshops/workshop2.html @@ -538,7 +538,7 @@

Speaker

} // Setting this PriceId here: - var priceId = "price_1Lp5AaSCC8JVWfvg8pg1OAGn"; + var priceId = "price_1M0KtiSCC8JVWfvgcKspC6qQ"; fetch("/create-checkout-session/" + priceId, { method: "POST", diff --git a/client/workshops/workshop3.html b/client/workshops/workshop3.html index 0b175f4..c0dd50d 100644 --- a/client/workshops/workshop3.html +++ b/client/workshops/workshop3.html @@ -538,7 +538,7 @@

Speaker

} // Setting this PriceId here: - var priceId = "price_1Lp5B7SCC8JVWfvgJ8AgwuvV"; + var priceId = "price_1M0KudSCC8JVWfvgG9kjipMp"; fetch("/create-checkout-session/" + priceId, { method: "POST", diff --git a/server.js b/server.js index f472521..e223b43 100644 --- a/server.js +++ b/server.js @@ -77,5 +77,5 @@ app.post("/create-checkout-session/:pid", async (req, res) => { // Server listening: app.listen(port, () => { - console.log(`Server listening on port: ${port}!`); + console.log(`Server listening on port: ${port}`); });