aboutsummaryrefslogtreecommitdiffstats
path: root/examples/websocket
diff options
context:
space:
mode:
Diffstat (limited to 'examples/websocket')
-rw-r--r--examples/websocket/README.md4
-rw-r--r--examples/websocket/src/websocket_app.erl2
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/websocket/README.md b/examples/websocket/README.md
index 14f6f74..f3b4cbd 100644
--- a/examples/websocket/README.md
+++ b/examples/websocket/README.md
@@ -13,5 +13,5 @@ You can then start the Erlang node with the following command:
./start.sh
```
-Then point your browser to the indicated URL to open a websocket client.
-Not all browsers suport websockets. It was tested with Chromium.
+Then point your browser to the indicated URL to open a websocket client.
+Not all browsers support websockets. It was tested with Chromium.
diff --git a/examples/websocket/src/websocket_app.erl b/examples/websocket/src/websocket_app.erl
index 5dc7017..93598d0 100644
--- a/examples/websocket/src/websocket_app.erl
+++ b/examples/websocket/src/websocket_app.erl
@@ -16,7 +16,7 @@ start(_Type, _Args) ->
{"/websocket", ws_handler, []}
]}
]),
- {ok, _} = cowboy:start_http(http, 100, [{port, 8080}],
+ {ok, _} = cowboy:start_http(http, 100, [{port, 8080}],
[{env, [{dispatch, Dispatch}]}]),
websocket_sup:start_link().