Skip to content

Commit

Permalink
djs-bot: fix mismatched port API and WS (!214)
Browse files Browse the repository at this point in the history
WS and API port interverted in config.js default #210
In the config.js file, the default port for api and ws (line 46 and 56) are interverted. The ws' port is 8080 instead of 3000 and the other way around.

Fixes: 2687039 ("bot ws integration")
Signed-off-by: Darren Nathanael <[email protected]>
Link: https://git.dpaste.org/dmb/Discord-MusicBot/commit/2687039ee764611e1f1628335132ec07a5aac971

Reviewed-on: https://git.dpaste.org/dmb/Discord-MusicBot/pulls/214
Co-authored-by: Darren Nathanael <[email protected]>
Co-committed-by: Darren Nathanael <[email protected]>
  • Loading branch information
DarrenOfficial committed Apr 10, 2024
1 parent a133dcc commit f7172b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions djs-bot/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ module.exports = {
/**
* Port to run the API on
* @type {number} */
port: parseInt(process.env.API_PORT) || 3000,
port: parseInt(process.env.API_PORT) || 8080,
},

/**
Expand All @@ -53,7 +53,7 @@ module.exports = {
/**
* Port to run WS on
* @type {number} */
port: parseInt(process.env.WS_PORT) || 8080,
port: parseInt(process.env.WS_PORT) || 3000,
},

/**
Expand Down

0 comments on commit f7172b3

Please sign in to comment.