Skip to content

Commit 0569d9f

Browse files
authored
Merge pull request #14 from sfatihk/master
Improvements
2 parents ea27822 + 5b91e8f commit 0569d9f

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

public/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<meta name="description" content="Real-time chat app with RNG features. RiNGo">
67
<link
78
rel="stylesheet"
89
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css"

public/join.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<meta name="description" content="Real-time chat app with RNG features. RiNGo">
67
<link
78
rel="stylesheet"
89
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css"

public/js/join.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ setTimeout(() => {
4040
}
4141
}, 1);
4242

43-
socket.on('roomUsers', ({ room, roomId, users }) => {
43+
socket.on('roomUsers', ({ room, users }) => {
4444
console.log(room);
4545
outputRoomName(room);
4646
outputUsers(users);
@@ -161,7 +161,7 @@ const outputDice = (message) => {
161161

162162
function copy() {
163163
element = document.getElementById('link');
164-
var range, selection, worked;
164+
var range, selection;
165165

166166
if (document.body.createTextRange) {
167167
range = document.body.createTextRange();

server.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ const botName = 'Chat Bot';
2121

2222
app.get('/:roomid', (req, res) => {
2323
res.sendFile(path.join(__dirname, 'public', 'join.html'));
24-
let roomid = req.params['roomid'];
2524
});
2625

2726
// static folder

0 commit comments

Comments
 (0)