diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..6f3a291 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "liveServer.settings.port": 5501 +} \ No newline at end of file diff --git a/client/app.js b/client/app.js index bfc47c4..983239a 100644 --- a/client/app.js +++ b/client/app.js @@ -6,7 +6,8 @@ var btnWorshop3 = document.getElementById("work-3"); // __________________________________________________________________ -var URL = "https://kube-workshop.herokuapp.com"; +// var URL = "https://kube-workshop.herokuapp.com"; +var URL = "https://waypoint.291834ce-904a-4e6e-b79c-660f4b66e946.lb.civo.com"; btnWorshop1.addEventListener("click", function (e) { e.preventDefault(); diff --git a/client/index.html b/client/index.html index 1bac07e..d188505 100644 --- a/client/index.html +++ b/client/index.html @@ -102,6 +102,50 @@

Workshop 3

+
+ +
FREE
+ + profile image +

Workshop 3

+
+
+

June 5th, 2022

+

08:00 PM IST

+
+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Impedit + blanditiis nihil officia quas, ullam distinctio molestias + necessitatibus. Totam non, nostrum sint ducimus quas ad, reiciendis + hic eaque ipsam, id qui. +
+ +
+
+ +
FREE
+ + profile image +

Workshop 3

+
+
+

June 5th, 2022

+

08:00 PM IST

+
+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Impedit + blanditiis nihil officia quas, ullam distinctio molestias + necessitatibus. Totam non, nostrum sint ducimus quas ad, reiciendis + hic eaque ipsam, id qui. +
+ +
diff --git a/server.js b/server.js index f5548ce..f472521 100644 --- a/server.js +++ b/server.js @@ -13,7 +13,8 @@ const stripe = require("stripe")(api_key); // ------------ Imports & necessary things here ------------ // Setting up the static folder: -app.use(express.static(resolve(__dirname, "./client"))); +// app.use(express.static(resolve(__dirname, "./client"))); +app.use(express.static(resolve(__dirname, process.env.STATIC_DIR))); app.use(express.json()); app.use(express.urlencoded({ extended: false }));