diff options
author | Loïc Hoguin <[email protected]> | 2013-11-14 17:00:27 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2013-11-14 17:00:27 +0100 |
commit | f541942867e31671ca8f5fd51508cd2e76bdedfa (patch) | |
tree | f288f070cf7d70c9ad33dc375f5aeb9ab39907a6 /examples/clock/src/clock_app.erl | |
parent | d3e906fe634a9b58327e5c8a95782a8798250e08 (diff) | |
download | bullet-f541942867e31671ca8f5fd51508cd2e76bdedfa.tar.gz bullet-f541942867e31671ca8f5fd51508cd2e76bdedfa.tar.bz2 bullet-f541942867e31671ca8f5fd51508cd2e76bdedfa.zip |
Make Bullet work with Cowboy 0.9.0
Diffstat (limited to 'examples/clock/src/clock_app.erl')
-rw-r--r-- | examples/clock/src/clock_app.erl | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/examples/clock/src/clock_app.erl b/examples/clock/src/clock_app.erl index 9b3985f..beaeb12 100644 --- a/examples/clock/src/clock_app.erl +++ b/examples/clock/src/clock_app.erl @@ -15,12 +15,7 @@ start(_Type, _Args) -> {'_', [ {"/", toppage_handler, []}, {"/bullet", bullet_handler, [{handler, stream_handler}]}, - {"/static/[...]", cowboy_static, [ - {directory, {priv_dir, bullet, []}}, - {mimetypes, [ - {<<".js">>, [<<"application/javascript">>]} - ]} - ]} + {"/static/[...]", cowboy_static, {priv_dir, bullet, []}} ]} ]), {ok, _} = cowboy:start_http(http, 100, |