Spaces:
Sleeping
Sleeping
Update static/scripts.js
Browse files- static/scripts.js +1 -1
static/scripts.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
const socket = io('http://
|
2 |
const canvas = document.getElementById('gameCanvas');
|
3 |
const ctx = canvas.getContext('2d');
|
4 |
const tileSize = 32;
|
|
|
1 |
+
const socket = io('http://0.0.0.0:7860'); // Explicitly specify your local server
|
2 |
const canvas = document.getElementById('gameCanvas');
|
3 |
const ctx = canvas.getContext('2d');
|
4 |
const tileSize = 32;
|