servez 1.14.0 → 1.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -49,7 +49,7 @@ Using `npx` you can run servez without installing it first:
|
|
|
49
49
|
* `--cors` Include CORS headers (defaults to `true`, `--no-cors` to disable)
|
|
50
50
|
|
|
51
51
|
* `--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)
|
|
53
53
|
|
|
54
54
|
* `--index` Display index.html for folders if it exists (defaults to `true`, `--no-index` to disable)
|
|
55
55
|
|
|
@@ -57,6 +57,12 @@ is to serve publicly. (0.0.0.0 vs 127.0.0.1)
|
|
|
57
57
|
|
|
58
58
|
* `--brotli` serve `somefile.br` in place of `somefile`
|
|
59
59
|
|
|
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
|
+
|
|
60
66
|
* `--robots` Provide a /robots.txt if one does not exist. (defaults to `true`. `--no-robots` to disable)
|
|
61
67
|
|
|
62
68
|
* `--hidden` Show files that start with `.`
|