Skip to content

Commit 87a56ec

Browse files
authored
Merge pull request #58 from apsinghdev/Connect/with-be
Change url of socket
2 parents 15688d6 + c3c08b4 commit 87a56ec

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

client/src/socket.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import { io } from "socket.io-client";
22

3-
const PORT = "http://localhost:8000";
3+
const PORT =
4+
"https://draw-rtc-96kr12q0u-ajeet-pratap-singhs-projects.vercel.app/";
45

56
const socket = io(PORT);
67

78
socket.on("connect", () => {
8-
console.log("connected");
9+
console.log("connected");
910
});
1011

11-
export default socket;
12+
export default socket;

0 commit comments

Comments
 (0)