pull/33/head
parent
eb7d7e9da8
commit
f15a4b3b27
|
@ -126,7 +126,7 @@ function submitUserData(drawingZone) {
|
||||||
|
|
||||||
};
|
};
|
||||||
console.log('userData', userData)
|
console.log('userData', userData)
|
||||||
fetch(`http://localhost:5175/api/saveGalleryImage`, {
|
fetch(`https://api.teachertrainingkolkata.in/api/saveGalleryImage`, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type' : 'application/json'
|
'Content-Type' : 'application/json'
|
||||||
|
|
|
@ -187,7 +187,7 @@ function submitUserData(drawingZone) {
|
||||||
userId: userId,
|
userId: userId,
|
||||||
gameTime: timeDifferenceInSeconds
|
gameTime: timeDifferenceInSeconds
|
||||||
};
|
};
|
||||||
fetch(`http://localhost:5175/api/saveGalleryImage`, {
|
fetch(`https://api.teachertrainingkolkata.in/api/saveGalleryImage`, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type' : 'application/json'
|
'Content-Type' : 'application/json'
|
||||||
|
|
|
@ -395,7 +395,7 @@ import Layout from "../../layouts/Layout.astro";
|
||||||
gameTime: timeDifferenceInSeconds
|
gameTime: timeDifferenceInSeconds
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
const saveResponse = await fetch('http://localhost:5175/api/saveGalleryImage', {
|
const saveResponse = await fetch('https://api.teachertrainingkolkata.in/api/saveGalleryImage', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
|
|
@ -421,7 +421,7 @@ import Layout from "../../layouts/Layout.astro";
|
||||||
gameTime: timeDifferenceInSeconds
|
gameTime: timeDifferenceInSeconds
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
const saveResponse = await fetch('http://localhost:5175/api/saveGalleryImage', {
|
const saveResponse = await fetch('https://api.teachertrainingkolkata.in/api/saveGalleryImage', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
|
|
@ -397,7 +397,7 @@ import Layout from "../../layouts/Layout.astro";
|
||||||
gameTime: timeDifferenceInSeconds
|
gameTime: timeDifferenceInSeconds
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
const saveResponse = await fetch('http://localhost:5175/api/saveGalleryImage', {
|
const saveResponse = await fetch('https://api.teachertrainingkolkata.in/api/saveGalleryImage', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
|
|
@ -406,7 +406,7 @@ import Layout from "../../layouts/Layout.astro";
|
||||||
gameTime: timeDifferenceInSeconds
|
gameTime: timeDifferenceInSeconds
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
const saveResponse = await fetch('http://localhost:5175/api/saveGalleryImage', {
|
const saveResponse = await fetch('https://api.teachertrainingkolkata.in/api/saveGalleryImage', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
|
|
@ -357,7 +357,7 @@ import Layout from "../../layouts/Layout.astro";
|
||||||
gameTime: timeDifferenceInSeconds
|
gameTime: timeDifferenceInSeconds
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
const saveResponse = await fetch('http://localhost:5175/api/saveGalleryImage', {
|
const saveResponse = await fetch('https://api.teachertrainingkolkata.in/api/saveGalleryImage', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
|
|
@ -398,7 +398,7 @@ import Layout from "../../layouts/Layout.astro";
|
||||||
gameTime: timeDifferenceInSeconds
|
gameTime: timeDifferenceInSeconds
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
const saveResponse = await fetch('http://localhost:5175/api/saveGalleryImage', {
|
const saveResponse = await fetch('https://api.teachertrainingkolkata.in/api/saveGalleryImage', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
|
|
@ -426,7 +426,7 @@ import Layout from "../../layouts/Layout.astro";
|
||||||
gameTime: timeDifferenceInSeconds
|
gameTime: timeDifferenceInSeconds
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
const saveResponse = await fetch('http://localhost:5175/api/saveGalleryImage', {
|
const saveResponse = await fetch('https://api.teachertrainingkolkata.in/api/saveGalleryImage', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
|
|
@ -352,7 +352,7 @@ import Layout from "../../layouts/Layout.astro";
|
||||||
gameTime: timeDifferenceInSeconds
|
gameTime: timeDifferenceInSeconds
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
const saveResponse = await fetch('http://localhost:5175/api/saveGalleryImage', {
|
const saveResponse = await fetch('https://api.teachertrainingkolkata.in/api/saveGalleryImage', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
|
|
@ -390,7 +390,8 @@ import Layout from "../../layouts/Layout.astro";
|
||||||
gameTime: timeDifferenceInSeconds
|
gameTime: timeDifferenceInSeconds
|
||||||
};
|
};
|
||||||
try {
|
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',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
|
|
@ -432,7 +432,7 @@ import Layout from "../../layouts/Layout.astro";
|
||||||
gameTime: timeDifferenceInSeconds
|
gameTime: timeDifferenceInSeconds
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
const saveResponse = await fetch('http://localhost:5175/api/saveGalleryImage', {
|
const saveResponse = await fetch('https://api.teachertrainingkolkata.in/api/saveGalleryImage', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
|
|
@ -361,7 +361,7 @@ import Layout from "../../layouts/Layout.astro";
|
||||||
gameTime: timeDifferenceInSeconds
|
gameTime: timeDifferenceInSeconds
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
const saveResponse = await fetch('http://localhost:5175/api/saveGalleryImage', {
|
const saveResponse = await fetch('https://api.teachertrainingkolkata.in/api/saveGalleryImage', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
|
Loading…
Reference in New Issue