broadfield-dev commited on
Commit
f5add32
·
verified ·
1 Parent(s): c2ec49f

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -59,7 +59,7 @@
59
 
60
  // Fetch and update world
61
  async function move(dx, dz) {
62
- const response = await fetch(`http://localhost:8000/move?dx=${dx}&dz=${dz}`);
63
  const data = await response.json();
64
  playerPos = data.player_pos;
65
  const key = `${data.chunk_coords[0]},${data.chunk_coords[1]}`;
 
59
 
60
  // Fetch and update world
61
  async function move(dx, dz) {
62
+ const response = await fetch(`http://broadfeild-dev-mind-craft.hf.space/move?dx=${dx}&dz=${dz}`);
63
  const data = await response.json();
64
  playerPos = data.player_pos;
65
  const key = `${data.chunk_coords[0]},${data.chunk_coords[1]}`;