Skip to content

Commit 2c11e32

Browse files
committed
updated socket url
1 parent 1e3cd50 commit 2c11e32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/user/dashboard/utils/socket.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import io from 'socket.io-client'
2-
const socket = io('http://localhost:8810')
2+
const socket = io(`${process.env.REACT_APP_API_ENDPOINT}:8810`)
33
export default socket;

0 commit comments

Comments
 (0)