diff options
Diffstat (limited to 'examples/compress_response')
-rw-r--r-- | examples/compress_response/src/compress_response_app.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/compress_response/src/compress_response_app.erl b/examples/compress_response/src/compress_response_app.erl index aed2e69..c5fdbf6 100644 --- a/examples/compress_response/src/compress_response_app.erl +++ b/examples/compress_response/src/compress_response_app.erl @@ -16,7 +16,7 @@ start(_Type, _Args) -> {"/", toppage_handler, []} ]} ]), - {ok, _} = cowboy:start_clear(http, 100, [{port, 8080}], #{ + {ok, _} = cowboy:start_clear(http, [{port, 8080}], #{ env => #{dispatch => Dispatch}, stream_handlers => [cowboy_compress_h, cowboy_stream_h] }), |