Skip to content

Commit

Permalink
fix: use loopback ip for server
Browse files Browse the repository at this point in the history
  • Loading branch information
ylc395 committed Nov 18, 2021
1 parent 292fdd6 commit 8c15edb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/driver/server/joplinPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class HttpServer {
}
});
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
this.server!.listen(port, () => resolve(port));
this.server!.listen(port, '127.0.0.1', () => resolve(port));
});
}

Expand Down

0 comments on commit 8c15edb

Please sign in to comment.