aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 2390abb..b08e36c 100644
--- a/README.md
+++ b/README.md
@@ -49,8 +49,8 @@ Code speaks more than words:
application:start(cowboy),
Dispatch = [
- %% Host, Path, Handler, Opts
- {'_', '_', my_handler, []}
+ %% {Host, list({Path, Handler, Opts})}
+ {'_', [{'_', my_handler, []}]}
],
%% NbAcceptors, Transport, TransOpts, Protocol, ProtoOpts
cowboy_listener_sup:start_link(100,