Skip to content

Commit

Permalink
feat : Peer Server
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee-Dongwook committed Oct 21, 2024
1 parent 4d31a24 commit 45e9fa4
Show file tree
Hide file tree
Showing 4 changed files with 156 additions and 25 deletions.
2 changes: 1 addition & 1 deletion client/src/components/PeerConnect/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function PeerConnect() {
if (uniqueId && typeof window !== "undefined") {
const peer: Peer = new Peer(uniqueId, {
host: "localhost",
port: 9000,
port: 4000,
path: "/myapp",
});

Expand Down
168 changes: 144 additions & 24 deletions server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"express": "^4.21.1",
"jsonwebtoken": "^9.0.2",
"mongoose": "^8.7.2",
"peer": "^1.0.2",
"socket.io": "^4.8.0"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit 45e9fa4

Please sign in to comment.