Created
February 9, 2013 13:11
-
-
Save wmealing/4745271 to your computer and use it in GitHub Desktop.
Something i'm working on debugging, multiple handlers inside a cowboy route.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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