Skip to content

Commit

Permalink
fix spacing on if statment
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones-plip committed Jan 22, 2024
1 parent 351670e commit 1693233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const port: number = env.PORT ? parseInt(env.PORT) : 3000;
// backwards compatible to when it was undeclared and hard coded to
// be 0.0.0.0
let calculated_interface = "0.0.0.0";
if(INTERFACE){
if (INTERFACE) {
calculated_interface = INTERFACE;
}
server.listen({ host: calculated_interface, port }, (err, address) => {
Expand Down

0 comments on commit 1693233

Please sign in to comment.