diff options
Diffstat (limited to 'examples/websocket/src/websocket_app.erl')
-rw-r--r-- | examples/websocket/src/websocket_app.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/websocket/src/websocket_app.erl b/examples/websocket/src/websocket_app.erl index f89882f..90e6c8d 100644 --- a/examples/websocket/src/websocket_app.erl +++ b/examples/websocket/src/websocket_app.erl @@ -17,7 +17,7 @@ start(_Type, _Args) -> {"/static/[...]", cowboy_static, {priv_dir, websocket, "static"}} ]} ]), - {ok, _} = cowboy:start_clear(http, 100, [{port, 8080}], #{ + {ok, _} = cowboy:start_clear(http, [{port, 8080}], #{ env => #{dispatch => Dispatch} }), websocket_sup:start_link(). |