diff --git a/frontend/src/socket.js b/frontend/src/socket.js new file mode 100644 index 0000000000..0f228f3346 --- /dev/null +++ b/frontend/src/socket.js @@ -0,0 +1,5 @@ +import { io } from 'socket.io-client' +import { apiUrl } from '../api' + +export const socket = io(apiUrl) +