change api endpoint

b3
Suvodip 2024-06-22 19:27:43 +05:30
parent 64ab2bacd4
commit d7a2533f43
1 changed files with 2 additions and 2 deletions

View File

@ -59,9 +59,9 @@ function submitUserData(drawingZone) {
// 'starts': formattedDateTime, // 'starts': formattedDateTime,
// 'game_start' : gameStartTime, // 'game_start' : gameStartTime,
}; };
console.log(userData); // console.log(userData);
fetch(`http://192.168.0.166:3000/save-data`, { fetch(`https://phaser-game-api.s38.siliconpin.com/save-data`, {
method: 'POST', method: 'POST',
headers: { headers: {
'Content-Type' : 'application/json' 'Content-Type' : 'application/json'