diff options
Diffstat (limited to 'examples/static/src/static_app.erl')
-rw-r--r-- | examples/static/src/static_app.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/static/src/static_app.erl b/examples/static/src/static_app.erl index 0777aec..16ef554 100644 --- a/examples/static/src/static_app.erl +++ b/examples/static/src/static_app.erl @@ -14,7 +14,8 @@ start(_Type, _Args) -> Dispatch = [ {'_', [ {['...'], cowboy_static, [ - {directory, {priv_dir, static, []}} + {directory, {priv_dir, static, []}}, + {mimetypes, {fun mimetypes:path_to_mimes/2, default}} ]} ]} ], |