diff options
author | Loïc Hoguin <[email protected]> | 2012-11-27 11:35:40 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2012-11-27 11:35:40 +0100 |
commit | 9942beb58cb11c0f4ba4c98145b5cd1ff94985cf (patch) | |
tree | 8a53df6790510cd004766169cbba8921a3f74ca5 /src/cowboy_static.erl | |
parent | 2b5c12386238cedef401b768fc39eecdf7d66c91 (diff) | |
download | cowboy-9942beb58cb11c0f4ba4c98145b5cd1ff94985cf.tar.gz cowboy-9942beb58cb11c0f4ba4c98145b5cd1ff94985cf.tar.bz2 cowboy-9942beb58cb11c0f4ba4c98145b5cd1ff94985cf.zip |
Fix dispatch documentation with regards to the <<"*">> path
Diffstat (limited to 'src/cowboy_static.erl')
-rw-r--r-- | src/cowboy_static.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_static.erl b/src/cowboy_static.erl index 724bf33..1b4ff89 100644 --- a/src/cowboy_static.erl +++ b/src/cowboy_static.erl @@ -158,7 +158,7 @@ %% {file, <<"index.html">>}]} %% %% %% Serve cowboy/priv/www/page.html under http://example.com/*/page -%% {['*', <<"page">>], cowboy_static, +%% {['_', <<"page">>], cowboy_static, %% [{directory, {priv_dir, cowboy, [<<"www">>]}} %% {file, <<"page.html">>}]}. %% |