diff options
Diffstat (limited to 'examples/rest_basic_auth/src/rest_basic_auth_app.erl')
-rw-r--r-- | examples/rest_basic_auth/src/rest_basic_auth_app.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rest_basic_auth/src/rest_basic_auth_app.erl b/examples/rest_basic_auth/src/rest_basic_auth_app.erl index b8562bb..d595706 100644 --- a/examples/rest_basic_auth/src/rest_basic_auth_app.erl +++ b/examples/rest_basic_auth/src/rest_basic_auth_app.erl @@ -13,7 +13,7 @@ start(_Type, _Args) -> Dispatch = cowboy_router:compile([ {'_', [ - {"/", toppage_handler, []} + {"/", toppage_h, []} ]} ]), {ok, _} = cowboy:start_clear(http, [{port, 8080}], #{ |