change api endpoint
parent
64ab2bacd4
commit
d7a2533f43
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue