Skip to content

Instantly share code, notes, and snippets.

@wmealing
Created February 9, 2013 13:11
Show Gist options
  • 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