Skip to content

Commit

Permalink
Change server IP from 0.0.0.0 to 127.0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones-plip committed Jan 19, 2024
1 parent c8acae0 commit c6511f4
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 @@ -13,7 +13,7 @@ const port: number = env.PORT ? parseInt(env.PORT) : 3000;
const server = build({
logger: loggerConfig,
});
server.listen({ host: '0.0.0.0', port }, (err, address) => {
server.listen({ host: '127.0.0.1', port }, (err, address) => {
if (err) throw err;
console.log(`server is listening on ${address}`);
});
Expand Down

0 comments on commit c6511f4

Please sign in to comment.