diff options
Diffstat (limited to 'src/couchdb')
-rw-r--r-- | src/couchdb/couch_httpd_rewrite.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/couchdb/couch_httpd_rewrite.erl b/src/couchdb/couch_httpd_rewrite.erl index 5dac5387..452873d9 100644 --- a/src/couchdb/couch_httpd_rewrite.erl +++ b/src/couchdb/couch_httpd_rewrite.erl @@ -31,7 +31,7 @@ %% %% { %% .... -%% "rewrite": [ +%% "rewrites": [ %% { %% "from": "", %% "to": "index.html", @@ -57,7 +57,7 @@ %% "*". ex: %% /somepath/:var/* %% -%% This path are converted in erlang list by splitting "/". Each var are +%% This path is converted in erlang list by splitting "/". Each var are %% converted in atom. "*" is converted to '*' atom. The pattern matching is done %% by splitting "/" in request url in a list of token. A string pattern will %% match equal token. The star atom ('*' in single quotes) will match any number |