b4 #19

Merged
suvo merged 22 commits from b4 into fetch2 2024-08-01 14:06:26 +00:00
Showing only changes of commit d7a2533f43 - Show all commits

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'