Skip to content

Commit 1489af1

Browse files
volkovmqxasergeyev
authored andcommitted
Changes to nodejs examples README (#344)
Switched to better node launch command.
1 parent 357e724 commit 1489af1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/nodejs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
##### 2. Start a server: getter
88

9-
Run `websocketd --port=8080 --devconsole ./getter.js` and then go to `http://localhost:8080` to interact with it
9+
Run `websocketd --port=8080 --devconsole node greeter.js` and then go to `http://localhost:8080` to interact with it
1010

1111
##### 3. Start a server: counter
1212

13-
Run `websocketd --port=8080 ./counter.js` to start the server, then go to [examples/html](https://github.com/joewalnes/websocketd/tree/master/examples/html) directory and double click **count.html** to open in a browser
13+
Run `websocketd --port=8080 node count.js` to start the server, then go to [examples/html](https://github.com/joewalnes/websocketd/tree/master/examples/html) directory and double click **count.html** to open in a browser

0 commit comments

Comments
 (0)