auto push

This commit is contained in:
kinou-p 2023-06-15 18:56:04 +02:00
parent b741a0fd22
commit 84a0acf48a

View File

@ -25,7 +25,7 @@ function DrawCanvas(option) {
// const socketRef = useRef(null); // const socketRef = useRef(null);
// socketRef.current = io('http://localhost:4000'); // socketRef.current = io('http://localhost:4000');
const socket = io('http://' + process.env. + ':4000'); const socket = io('http://' + process.env.REACT_APP_BASE_URL + ':4000');
// const socket = socketRef.current // const socket = socketRef.current
console.log("start function"); console.log("start function");
const canvas = document.getElementById('myCanvas'); const canvas = document.getElementById('myCanvas');