We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbc63b4 commit c5b0678Copy full SHA for c5b0678
websocketfs/README.md
@@ -28,12 +28,12 @@ More concretely:
28
29
```js
30
// In your first terminal
31
-require('websocketfs').serve({path:process.env.HOME, port:'3456', host:'localhost'})
+require('websocketfs').serve({path:process.env.HOME, port:'3456', host:'127.0.0.1'})
32
```
33
34
35
// In your second terminal
36
-require('websocketfs').mount({path:'/tmp/mnt', remote:'ws://localhost:3456'})
+require('websocketfs').mount({path:'/tmp/mnt', remote:'ws://127.0.0.1:3456'})
37
38
39
Now /tmp/mnt should show the same files as your home directory. Note the ws://localhost:3456 filesystem below.
0 commit comments