Create a gist now

Instantly share code, notes, and snippets.

dispatch
Dispatch = [{'_', [
{[<<"index.htm">>,'...'], cowboy_static,
[ {directory, {priv_dir, monterl_carlo_websocket,[]}},
{file,<<"index.htm">>},
{mimetypes, [{<<".html">>, [<<"text/html">>]}]}]},
{[<<"flot.jquery.js">>,'...'],cowboy_static,
[ {directory, {priv_dir, monterl_carlo_websocket,[]}},
{file,<<"flot.jquery.js">>},
{mimetypes, [{<<".js">>, [<<"text/javascript">>]}]}]},
{'_', monterl_carlo_websocket_handler, []}
]}],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment