Well done! stars for your effort! Keep pushing, you’ve got this!
+
@@ -94,7 +97,7 @@ import Layout from '../../layouts/Layout.astro';
let galleryData = []; // Store gallery data from the API
let currentSlide = 0; // Initialize the current slide index
- fetch(`http://localhost:5175/api/getGalleryImage?userId=${akademyUserId}&gameID=${paramsID}&gameName=${akademyGameName}`)
+ fetch(`https://api.teachertrainingkolkata.in/api/getGalleryImage?userId=${akademyUserId}&gameID=${paramsID}&gameName=${akademyGameName}`)
.then(res => res.json())
.then(data => {
galleryData = data; // Store the fetched gallery data
diff --git a/src/pages/drawing/drawing_writo.astro b/src/pages/drawing/drawing_writo.astro
index fa64a61..520c53f 100644
--- a/src/pages/drawing/drawing_writo.astro
+++ b/src/pages/drawing/drawing_writo.astro
@@ -18,11 +18,14 @@ import Layout from '../../layouts/Layout.astro';
-
+
+
+
+
-
Well done! stars for your effort! Keep pushing, you’ve got this!
+
@@ -93,7 +96,7 @@ import Layout from '../../layouts/Layout.astro';
let galleryData = []; // Store gallery data from the API
let currentSlide = 0; // Initialize the current slide index
- fetch(`http://localhost:5175/api/getGalleryImage?userId=${akademyUserId}&gameID=${paramsID}&gameName=${akademyGameName}`)
+ fetch(`https://api.teachertrainingkolkata.in/api/getGalleryImage?userId=${akademyUserId}&gameID=${paramsID}&gameName=${akademyGameName}`)
.then(res => res.json())
.then(data => {
galleryData = data; // Store the fetched gallery data
diff --git a/src/pages/drawing/index.astro b/src/pages/drawing/index.astro
index 44fca52..86d0863 100644
--- a/src/pages/drawing/index.astro
+++ b/src/pages/drawing/index.astro
@@ -18,11 +18,14 @@ import Layout from '../../layouts/Layout.astro';
-
+
+
+
+
-
Well done! stars for your effort! Keep pushing, you’ve got this!
+
@@ -108,7 +111,7 @@ import Layout from '../../layouts/Layout.astro';
// ];
let galleryData = []; // Store gallery data from the API
let currentSlide = 0; // Initialize the current slide index
- fetch(`http://localhost:5175/api/getGalleryImage?userId=${akademyUserId}&gameID=${paramsID}&gameName=${akademyGameName}`)
+ fetch(`https://api.teachertrainingkolkata.in/api/getGalleryImage?userId=${akademyUserId}&gameID=${paramsID}&gameName=${akademyGameName}`)
.then(res => res.json())
.then(data => {
galleryData = data; // Store the fetched gallery data
diff --git a/src/pages/drawing/v2.astro b/src/pages/drawing/v2.astro
index 3b9347d..fac087f 100644
--- a/src/pages/drawing/v2.astro
+++ b/src/pages/drawing/v2.astro
@@ -18,11 +18,14 @@ import Layout from '../../layouts/Layout.astro';
-
+
+
+
+
-
Well done! stars for your effort! Keep pushing, you’ve got this!
+
@@ -93,7 +96,7 @@ import Layout from '../../layouts/Layout.astro';
let galleryData = []; // Store gallery data from the API
let currentSlide = 0; // Initialize the current slide index
- fetch(`http://localhost:5175/api/getGalleryImage?userId=${akademyUserId}&gameID=${paramsID}&gameName=${akademyGameName}`)
+ fetch(`https://api.teachertrainingkolkata.in/api/getGalleryImage?userId=${akademyUserId}&gameID=${paramsID}&gameName=${akademyGameName}`)
.then(res => res.json())
.then(data => {
galleryData = data; // Store the fetched gallery data
diff --git a/src/pages/drawing/v3.astro b/src/pages/drawing/v3.astro
index e89b0eb..bd05c22 100644
--- a/src/pages/drawing/v3.astro
+++ b/src/pages/drawing/v3.astro
@@ -18,11 +18,14 @@ import Layout from '../../layouts/Layout.astro';
-
+
+
+
+
-
Well done! stars for your effort! Keep pushing, you’ve got this!
+
@@ -93,14 +96,14 @@ import Layout from '../../layouts/Layout.astro';
let galleryData = []; // Store gallery data from the API
let currentSlide = 0; // Initialize the current slide index
- fetch(`http://localhost:5175/api/getGalleryImage?userId=${akademyUserId}&gameID=${paramsID}&gameName=${akademyGameName}`)
+ fetch(`https://api.teachertrainingkolkata.in/api/getGalleryImage?userId=${akademyUserId}&gameID=${paramsID}&gameName=${akademyGameName}`)
.then(res => res.json())
.then(data => {
galleryData = data; // Store the fetched gallery data
updateSlide(); // Call updateSlide after the data is fetched
})
.catch(err => {
- console.error(err);
+ console.error(err);
});
function updateSlide() {
if (galleryData.length > 0) {