diff options
Diffstat (limited to 'guide')
-rw-r--r-- | guide/static_handlers.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guide/static_handlers.md b/guide/static_handlers.md index f87515a..b2a9114 100644 --- a/guide/static_handlers.md +++ b/guide/static_handlers.md @@ -21,7 +21,7 @@ mimetypes library to figure out the files' content types. ``` erlang Dispatch = [ {'_', [ - {['...'], cowboy_static, [ + {"/[...]", cowboy_static, [ {directory, {priv_dir, static, []}}, {mimetypes, {fun mimetypes:path_to_mimes/2, default}} ]} |