We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44c2367 commit 0c44d41Copy full SHA for 0c44d41
src/routes/chat.js
@@ -8,7 +8,7 @@ export const chatRoute = {
8
handler: async (c) => {
9
// Get the WebSocket port from the environment or use default (port + 1)
10
const serverPort = parseInt(process.env.PORT || '3000');
11
- const wsPort = serverPort + 1;
+ const wsPort = serverPort;
12
13
return c.json({
14
status: 'ok',
0 commit comments