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:
parent
2b5c123862
commit
9942beb58c
2 changed files with 7 additions and 6 deletions
|
@ -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">>}]}.
|
||||
%%
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue