Skip to content

Commit 2d6f768

Browse files
committed
update README to cover new host/port options
1 parent 28366dc commit 2d6f768

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ const FastBootAppServer = require('fastboot-app-server');
3636

3737
let server = new FastBootAppServer({
3838
distPath: 'dist',
39-
gzip: true // Optional - Enables gzip compression.
39+
gzip: true, // Optional - Enables gzip compression.
40+
host: '0.0.0.0', // Optional - Sets the host the server listens on.
41+
port: 4000 // Optional - Sets the port the server listens on (defaults to the PORT env var or 3000).
4042
});
4143

4244
server.start();

0 commit comments

Comments
 (0)