s5
This commit is contained in:
@@ -126,7 +126,7 @@ function submitUserData(drawingZone) {
|
||||
|
||||
};
|
||||
console.log('userData', userData)
|
||||
fetch(`http://localhost:5175/api/saveGalleryImage`, {
|
||||
fetch(`https://api.teachertrainingkolkata.in/api/saveGalleryImage`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type' : 'application/json'
|
||||
|
||||
@@ -187,7 +187,7 @@ function submitUserData(drawingZone) {
|
||||
userId: userId,
|
||||
gameTime: timeDifferenceInSeconds
|
||||
};
|
||||
fetch(`http://localhost:5175/api/saveGalleryImage`, {
|
||||
fetch(`https://api.teachertrainingkolkata.in/api/saveGalleryImage`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type' : 'application/json'
|
||||
|
||||
@@ -395,7 +395,7 @@ import Layout from "../../layouts/Layout.astro";
|
||||
gameTime: timeDifferenceInSeconds
|
||||
};
|
||||
try {
|
||||
const saveResponse = await fetch('http://localhost:5175/api/saveGalleryImage', {
|
||||
const saveResponse = await fetch('https://api.teachertrainingkolkata.in/api/saveGalleryImage', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
@@ -421,7 +421,7 @@ import Layout from "../../layouts/Layout.astro";
|
||||
gameTime: timeDifferenceInSeconds
|
||||
};
|
||||
try {
|
||||
const saveResponse = await fetch('http://localhost:5175/api/saveGalleryImage', {
|
||||
const saveResponse = await fetch('https://api.teachertrainingkolkata.in/api/saveGalleryImage', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
@@ -397,7 +397,7 @@ import Layout from "../../layouts/Layout.astro";
|
||||
gameTime: timeDifferenceInSeconds
|
||||
};
|
||||
try {
|
||||
const saveResponse = await fetch('http://localhost:5175/api/saveGalleryImage', {
|
||||
const saveResponse = await fetch('https://api.teachertrainingkolkata.in/api/saveGalleryImage', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
@@ -406,7 +406,7 @@ import Layout from "../../layouts/Layout.astro";
|
||||
gameTime: timeDifferenceInSeconds
|
||||
};
|
||||
try {
|
||||
const saveResponse = await fetch('http://localhost:5175/api/saveGalleryImage', {
|
||||
const saveResponse = await fetch('https://api.teachertrainingkolkata.in/api/saveGalleryImage', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
@@ -357,7 +357,7 @@ import Layout from "../../layouts/Layout.astro";
|
||||
gameTime: timeDifferenceInSeconds
|
||||
};
|
||||
try {
|
||||
const saveResponse = await fetch('http://localhost:5175/api/saveGalleryImage', {
|
||||
const saveResponse = await fetch('https://api.teachertrainingkolkata.in/api/saveGalleryImage', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
@@ -398,7 +398,7 @@ import Layout from "../../layouts/Layout.astro";
|
||||
gameTime: timeDifferenceInSeconds
|
||||
};
|
||||
try {
|
||||
const saveResponse = await fetch('http://localhost:5175/api/saveGalleryImage', {
|
||||
const saveResponse = await fetch('https://api.teachertrainingkolkata.in/api/saveGalleryImage', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
@@ -426,7 +426,7 @@ import Layout from "../../layouts/Layout.astro";
|
||||
gameTime: timeDifferenceInSeconds
|
||||
};
|
||||
try {
|
||||
const saveResponse = await fetch('http://localhost:5175/api/saveGalleryImage', {
|
||||
const saveResponse = await fetch('https://api.teachertrainingkolkata.in/api/saveGalleryImage', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
@@ -352,7 +352,7 @@ import Layout from "../../layouts/Layout.astro";
|
||||
gameTime: timeDifferenceInSeconds
|
||||
};
|
||||
try {
|
||||
const saveResponse = await fetch('http://localhost:5175/api/saveGalleryImage', {
|
||||
const saveResponse = await fetch('https://api.teachertrainingkolkata.in/api/saveGalleryImage', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
@@ -95,7 +95,7 @@ import Layout from "../../layouts/Layout.astro";
|
||||
<div id="star-container" class="relative inline-flex items-center justify-center">
|
||||
<img src="/assets/bg-star.svg" alt="" class="block" />
|
||||
<p id="get-star-value" class="absolute inset-0 flex items-center justify-center text-[#E76408] text-[40px] font-[900]"></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex flex-row" style="margin-top: 15px; margin-bottom: 15px;">
|
||||
<img class="z-10" src="/assets/clip-art.svg" alt="" />
|
||||
@@ -390,7 +390,8 @@ import Layout from "../../layouts/Layout.astro";
|
||||
gameTime: timeDifferenceInSeconds
|
||||
};
|
||||
try {
|
||||
const saveResponse = await fetch('http://localhost:5175/api/saveGalleryImage', {
|
||||
// https://api.teachertrainingkolkata.in/api/
|
||||
const saveResponse = await fetch('https://api.teachertrainingkolkata.in/api/saveGalleryImage', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
@@ -432,7 +432,7 @@ import Layout from "../../layouts/Layout.astro";
|
||||
gameTime: timeDifferenceInSeconds
|
||||
};
|
||||
try {
|
||||
const saveResponse = await fetch('http://localhost:5175/api/saveGalleryImage', {
|
||||
const saveResponse = await fetch('https://api.teachertrainingkolkata.in/api/saveGalleryImage', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
@@ -361,7 +361,7 @@ import Layout from "../../layouts/Layout.astro";
|
||||
gameTime: timeDifferenceInSeconds
|
||||
};
|
||||
try {
|
||||
const saveResponse = await fetch('http://localhost:5175/api/saveGalleryImage', {
|
||||
const saveResponse = await fetch('https://api.teachertrainingkolkata.in/api/saveGalleryImage', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
Reference in New Issue
Block a user