Skip to content

Commit

Permalink
add new ipc server host option
Browse files Browse the repository at this point in the history
  • Loading branch information
Androz2091 committed Sep 7, 2024
1 parent d701dd2 commit 0ba7680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/ipc-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports.load = (discordClient) => {
});

const connect = () => {
node.connectTo(discordClient.config.ipcServerPort)
node.connectTo(discordClient.config.ipcServerPort, discordClient.config.ipcServerHost)
.then(() => firstConnect = true)
.catch((error) => {
if (error.message.includes("ECONNREFUSED")) return;
Expand Down

0 comments on commit 0ba7680

Please sign in to comment.