Skip to content

Commit

Permalink
Merge pull request #56 from project-fika/natpunching-fix
Browse files Browse the repository at this point in the history
Use IP from config instead of backendIp
  • Loading branch information
Lacyway committed Jul 15, 2024
2 parents 9344f5d + 2577d83 commit b8102bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/FikaServerTools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class FikaServerTools {
switch(serviceName)
{
case "NatPunchServer":
const ip = this.httpConfig.backendIp;
const ip = this.httpConfig.ip;
const port = this.natPunchServerConfig.port;
const natIntroduceAmount = this.natPunchServerConfig.natIntroduceAmount;
exeArgs = `-NatPunchServer -IP ${ip} -Port ${port} -NatIntroduceAmount ${natIntroduceAmount}`.split(" ");
Expand Down

0 comments on commit b8102bf

Please sign in to comment.