You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,8 @@ This will install `http-server` globally so that it may be run from the command
44
44
45
45
`-i` Display autoIndex (defaults to 'True')
46
46
47
+
`-g` or `--gzip` When enabled (defaults to 'False') it will serve `./public/some-file.js.gz` in place of `./public/some-file.js` when a gzipped version of the file exists and the request accepts gzip encoding.
48
+
47
49
`-e` or `--ext` Default file extension if none supplied (defaults to 'html')
48
50
49
51
`-s` or `--silent` Suppress log messages from output
0 commit comments