Browse files

Update src/monterl_carlo_websocket.erl

Added a default port when reading the config, for running locally etc.
  • Loading branch information...
1 parent 9b241d2 commit 60ecafb663e53e683c131e9e8dff6795927a9681 @nisbus committed Nov 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/monterl_carlo_websocket.erl
View
2 src/monterl_carlo_websocket.erl
@@ -45,7 +45,7 @@ start_phase(listen,_Type,_Args) ->
{mimetypes, [{<<".js">>, [<<"text/javascript">>]}]}]},
{'_', monterl_carlo_websocket_handler, []}
]}],
- cowboy:start_http(http, 100, [{port, config(http_port)}],[{dispatch, Dispatch}]),
+ cowboy:start_http(http, 100, [{port, config(http_port,8080)}],[{dispatch, Dispatch}]),
ok.
start_ok(_App, _Type, ok) -> ok;

0 comments on commit 60ecafb

Please sign in to comment.