Skip to content

Commit 2094c93

Browse files
committed
server: list on all inet interfaces
1 parent d8cd5df commit 2094c93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const express = require('express');
22
const serveIndex = require('serve-index');
33

4-
const host = 'localhost';
4+
const host = '0.0.0.0';
55
const port = process.argv[2] || 8000;
66

77
const app = express();

0 commit comments

Comments
 (0)