Skip to content

Instantly share code, notes, and snippets.

@nisbus
Created November 1, 2012 21:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nisbus/3996665 to your computer and use it in GitHub Desktop.
Save nisbus/3996665 to your computer and use it in GitHub Desktop.
dispatch
Dispatch = [{'_', [
{[<<"index.htm">>,'...'], cowboy_static,
[ {directory, {priv_dir, monterl_carlo_websocket,[]}},{mimetypes,[<<"text/html">>,<<".html">>,<<".htm">>]}]},
{[<<"flot.jquery.js">>,'...'],cowboy_static,
[ {directory, {priv_dir, monterl_carlo_websocket,[]}},
{file,<<"flot.jquery.js">>}]},
{'_', monterl_carlo_websocket_handler, []}
]}],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment