Skip to content

Instantly share code, notes, and snippets.

@wmealing
Created February 9, 2013 13:11
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 wmealing/4745271 to your computer and use it in GitHub Desktop.
Save wmealing/4745271 to your computer and use it in GitHub Desktop.
Something i'm working on debugging, multiple handlers inside a cowboy route.
cowboy_router:compile([
{'_', [
{[<<"index">>], cowboy_http_static, [{file}, <<"index.html">>]},
{'_', another_handler, []}
]}
]).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment