Browse Source

Fix an example missing a " in the manual

Loïc Hoguin 7 years ago
parent
commit
5758336453
1 changed files with 1 additions and 1 deletions
  1. 1 1
      doc/src/manual/cowboy_router.compile.asciidoc

+ 1 - 1
doc/src/manual/cowboy_router.compile.asciidoc

@@ -39,7 +39,7 @@ must be given to Cowboy as a middleware environment value.
 Dispatch = cowboy_router:compile([
 Dispatch = cowboy_router:compile([
     {'_', [
     {'_', [
         {"/", toppage_h, []},
         {"/", toppage_h, []},
-        {"/[...], cowboy_static, {priv_dir, my_example_app, ""}}
+        {"/[...]", cowboy_static, {priv_dir, my_example_app, ""}}
     ]}
     ]}
 ]),
 ]),