Skip to content

Commit 7634b42

Browse files
committed
Print localhost instead of 0.0.0.0 as latter doesn't work on Windows
1 parent 1578feb commit 7634b42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/dynamodb-admin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ const port = process.env.PORT || args.port
3434
const server = app.listen(port);
3535
server.on('listening', () => {
3636
const address = server.address();
37-
const url = `http://0.0.0.0:${address.port}`;
38-
console.log(` dynamodb-admin listening on ${url}`);
37+
const url = `http://localhost:${address.port}`;
38+
console.log(` dynamodb-admin listening on ${url} (alternatively http://0.0.0.0:${address.port})`);
3939

4040
if (args.open) {
4141
opn(url)

0 commit comments

Comments
 (0)