Skip to content
Snippets Groups Projects
Commit e50e7d52 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Update socketio connection URL

parent a4bc09d9
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ function Main(props) {
const [modalBody, setModalBody] = useState(<Spinner animation="border" variant="success" />);
// Setup refs for easy access
const {current: socket} = useRef(io("ws://localhost:5000"));
const {current: socket} = useRef(io());
const firstName = useRef(null);
const lastName = useRef(null);
const reason = useRef(null);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment