aboutsummaryrefslogtreecommitdiffstats
path: root/guide/static_handlers.md
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-02-12 14:06:54 +0100
committerLoïc Hoguin <[email protected]>2013-02-12 14:06:54 +0100
commitbce7b860ee925b61fe8aa14565301c3c4aa65de2 (patch)
tree6e72de813238f3c3115f6f387db62726ab65ad71 /guide/static_handlers.md
parentbc743a3ea57516330eb5f5152e0f95a11b79ffd0 (diff)
parent6575ceb0dd41111604453095044e2f9296ac0eee (diff)
downloadcowboy-bce7b860ee925b61fe8aa14565301c3c4aa65de2.tar.gz
cowboy-bce7b860ee925b61fe8aa14565301c3c4aa65de2.tar.bz2
cowboy-bce7b860ee925b61fe8aa14565301c3c4aa65de2.zip
Merge branch 'static_doc' of git://github.com/acammack/cowboy
Diffstat (limited to 'guide/static_handlers.md')
-rw-r--r--guide/static_handlers.md2
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}}
]}