File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -49,14 +49,20 @@ 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
56
56
* ` --gzip ` serve ` somefile.gz ` in place of ` somefile `
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 ` . `
You can’t perform that action at this time.
0 commit comments