aboutsummaryrefslogtreecommitdiffstats
path: root/examples/static/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/static/src')
-rw-r--r--examples/static/src/static_app.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/static/src/static_app.erl b/examples/static/src/static_app.erl
index 16ef554..e147db9 100644
--- a/examples/static/src/static_app.erl
+++ b/examples/static/src/static_app.erl
@@ -20,7 +20,7 @@ start(_Type, _Args) ->
]}
],
{ok, _} = cowboy:start_http(http, 100, [{port, 8080}], [
- {dispatch, Dispatch}
+ {env, [{dispatch, Dispatch}]}
]),
static_sup:start_link().