0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Fix wrong template name

This commit is contained in:
Matt Joiner 2021-01-07 11:48:48 +11:00 committed by GitHub
parent 8795233c57
commit 2e32a6a926
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -125,7 +125,7 @@ HTTP handler.
Generate a handler from a template:
[source,bash]
$ make new t=cowboy.http n=hello_handler
$ make new t=cowboy_http n=hello_handler
Then, open the 'src/hello_handler.erl' file and modify
the `init/2` function like this to send a reply.