aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrzej Sliwa <[email protected]>2013-03-17 00:03:18 +0100
committerAndrzej Sliwa <[email protected]>2013-04-12 08:26:44 +0200
commit1ff1ac85cde5dcb7382e14ae3f452ee737b03ca1 (patch)
tree5cb2f48f05c82ad7f84884315ed058f07f7eed9a /src
parent0460406969da1872b6440c519d7c4aafa5a0ff8c (diff)
downloadcowboy-1ff1ac85cde5dcb7382e14ae3f452ee737b03ca1.tar.gz
cowboy-1ff1ac85cde5dcb7382e14ae3f452ee737b03ca1.tar.bz2
cowboy-1ff1ac85cde5dcb7382e14ae3f452ee737b03ca1.zip
missing comma in documentation of static examples
Diffstat (limited to 'src')
-rw-r--r--src/cowboy_static.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cowboy_static.erl b/src/cowboy_static.erl
index fe6600c..dd7eed5 100644
--- a/src/cowboy_static.erl
+++ b/src/cowboy_static.erl
@@ -154,17 +154,17 @@
%% ```
%% %% Serve cowboy/priv/www/index.html as http://example.com/
%% {"/", cowboy_static,
-%% [{directory, {priv_dir, cowboy, [<<"www">>]}}
+%% [{directory, {priv_dir, cowboy, [<<"www">>]}},
%% {file, <<"index.html">>}]}
%%
%% %% Serve cowboy/priv/www/page.html under http://example.com/*/page
%% {"/:_/page", cowboy_static,
-%% [{directory, {priv_dir, cowboy, [<<"www">>]}}
+%% [{directory, {priv_dir, cowboy, [<<"www">>]}},
%% {file, <<"page.html">>}]}.
%%
%% %% Always serve cowboy/priv/www/other.html under http://example.com/other
%% {"/other/[...]", cowboy_static,
-%% [{directory, {priv_dir, cowboy, [<<"www">>]}}
+%% [{directory, {priv_dir, cowboy, [<<"www">>]}},
%% {file, "other.html"}]}
%% '''
-module(cowboy_static).