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:
parent
8795233c57
commit
2e32a6a926
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue