File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3208,7 +3208,7 @@ server.listen(8000);
3208
3208
3209
3209
## ` http.createStaticServer([options]) `
3210
3210
3211
- <!-- YAML
3211
+ <!-- YAML
3212
3212
added: REPLACEME
3213
3213
-->
3214
3214
@@ -3228,9 +3228,9 @@ added: REPLACEME
3228
3228
* Returns: {http.Server}
3229
3229
3230
3230
Start a TCP server listening for connections on the given ` port ` and ` host ` , and
3231
- serve static local files, using ` directory ` as the root. Please note that
3232
- when specifying a ` host ` other than ` localhost ` , you are exposing your local file
3233
- system to all the machines that can connect to your computer.
3231
+ serve static local files, using ` directory ` as the root.
3232
+ When specifying a ` host ` other than ` localhost ` , you are exposing your local
3233
+ file system to all the machines that can connect to your computer.
3234
3234
3235
3235
If specified and not ` null ` , ` filter ` will be called with two arguments: the
3236
3236
first one if the request URL string (the URL that is present in the actual HTTP
You can’t perform that action at this time.
0 commit comments