auto push

This commit is contained in:
kinou-p 2023-06-15 18:55:04 +02:00
parent 9dcf0e7eb6
commit b741a0fd22

View File

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