0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Fix dispatch documentation with regards to the <<"*">> path

This commit is contained in:
Loïc Hoguin 2012-11-27 11:35:40 +01:00
parent 2b5c123862
commit 9942beb58c
2 changed files with 7 additions and 6 deletions

View file

@ -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">>}]}.
%%