Skip to content

Commit

Permalink
feat: 소켓연결할 도메인 입력
Browse files Browse the repository at this point in the history
  • Loading branch information
sooyeon-kr committed Sep 10, 2024
1 parent 6adb20c commit cc1e13d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/public/js/consultingRoom.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const socket = io();
const socket = io('https://pickle.my/consulting-room');
const myFace = document.getElementById('myFace');
const sharedScreen = document.getElementById('sharedScreen');
const peerFace = document.getElementById('peerFace');
Expand Down
6 changes: 3 additions & 3 deletions src/views/session.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
userName: '<%= userName || "" %>',
};
</script>
<script src="https://cdn.socket.io/4.5.4/socket.io.min.js"></script>
<!-- <script src="https://cdn.socket.io/4.5.4/socket.io.min.js"></script> -->
<link
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"
rel="stylesheet"
/>
<link rel="stylesheet" href="/css/consultingRoom.css" />
<!-- <script src="/public/js/socket.io.js"></script> -->
<script src="/js/socket.io.js"></script>
</head>
<body>
<header>
Expand Down Expand Up @@ -60,7 +60,7 @@
<i class="fas fa-paper-plane"></i>
</button>
</div>
<!-- <script src="/socket.io/socket.io.js"></script> -->
<!-- <script src="/js/socket.io.js"></script> -->
<script src="/js/consultingRoom.js"></script>
</body>
</html>

0 comments on commit cc1e13d

Please sign in to comment.