Skip to content

Commit 300d2bd

Browse files
committedApr 2, 2022
README
1 parent b7471aa commit 300d2bd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
 

‎README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,20 @@ Using `npx` you can run servez without installing it first:
4949
* `--cors` Include CORS headers (defaults to `true`, `--no-cors` to disable)
5050

5151
* `--local` make serve only accessible from this machine. The default
52-
is to serve publicly. (0.0.0.0 vs 127.0.0.1)
52+
is to serve publicly. (0.0.0.0 vs 127.0.0.1)
5353

5454
* `--index` Display index.html for folders if it exists (defaults to `true`, `--no-index` to disable)
5555

5656
* `--gzip` serve `somefile.gz` in place of `somefile`
5757

5858
* `--brotli` serve `somefile.br` in place of `somefile`
5959

60+
* `--unity-hack` ignore .gz and .br when computing content type. (defaults to `true`, `--no-unity-hack` to disable)
61+
62+
* `--shared-array-buffers` include headers 'Cross-Origin-Opener-Policy': 'same-origin' and 'Cross-Origin-Embedder-Policy': 'require-corp'.
63+
64+
* `--header=<name>:<value>` extra headers to include eg `--header=Content-Language:de-DE'`
65+
6066
* `--robots` Provide a /robots.txt if one does not exist. (defaults to `true`. `--no-robots` to disable)
6167

6268
* `--hidden` Show files that start with `.`

0 commit comments

Comments
 (0)
Please sign in to comment.