We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e3cd50 commit 2c11e32Copy full SHA for 2c11e32
src/user/dashboard/utils/socket.js
@@ -1,3 +1,3 @@
1
import io from 'socket.io-client'
2
-const socket = io('http://localhost:8810')
+const socket = io(`${process.env.REACT_APP_API_ENDPOINT}:8810`)
3
export default socket;
0 commit comments