Pepguy commited on
Commit
f5283e1
·
verified ·
1 Parent(s): 51e6641

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +4 -1
app.js CHANGED
@@ -22,6 +22,7 @@ app.get('/', (req, res) => {
22
  </style>
23
  </head>
24
  <body>
 
25
  <h2>Join a Room & Send Messages</h2>
26
  <input id="room" placeholder="Room ID" />
27
  <button onclick="joinRoom()">Join Room</button>
@@ -132,5 +133,7 @@ wss.on('connection', ws => {
132
  });
133
  });
134
 
135
- const PORT = process.env.PORT || 7860;
 
 
136
  server.listen(PORT, () => console.log(`✅ Activity server running at http://localhost:${PORT}`));
 
22
  </style>
23
  </head>
24
  <body>
25
+ <p>Trying</p>
26
  <h2>Join a Room & Send Messages</h2>
27
  <input id="room" placeholder="Room ID" />
28
  <button onclick="joinRoom()">Join Room</button>
 
133
  });
134
  });
135
 
136
+ const PORT = process.env.PORT ||
137
+ 8000
138
+ //7860;
139
  server.listen(PORT, () => console.log(`✅ Activity server running at http://localhost:${PORT}`));