diff options
author | Herman Singh <[email protected]> | 2018-09-07 13:48:43 -0400 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-09-23 14:12:38 +0200 |
commit | 86cb105679ff80214bfc9d979afa27b1eb747307 (patch) | |
tree | 873da2ab17c954c9fdf5e8adc5458212274b6c41 /examples/echo_post/src/echo_post_app.erl | |
parent | 8045f7a998f03b8995d30dc14b3308e9a67422bc (diff) | |
download | cowboy-86cb105679ff80214bfc9d979afa27b1eb747307.tar.gz cowboy-86cb105679ff80214bfc9d979afa27b1eb747307.tar.bz2 cowboy-86cb105679ff80214bfc9d979afa27b1eb747307.zip |
Rename handler modules to _h
Diffstat (limited to 'examples/echo_post/src/echo_post_app.erl')
-rw-r--r-- | examples/echo_post/src/echo_post_app.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/echo_post/src/echo_post_app.erl b/examples/echo_post/src/echo_post_app.erl index 2c39336..b454740 100644 --- a/examples/echo_post/src/echo_post_app.erl +++ b/examples/echo_post/src/echo_post_app.erl @@ -13,7 +13,7 @@ start(_Type, _Args) -> Dispatch = cowboy_router:compile([ {'_', [ - {"/", toppage_handler, []} + {"/", toppage_h, []} ]} ]), {ok, _} = cowboy:start_clear(http, [{port, 8080}], #{ |