mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 12:40:25 +00:00
Add an example with custom middleware
This commit is contained in:
parent
26935cbfb0
commit
09f1a8d55b
12 changed files with 157 additions and 0 deletions
15
examples/markdown_middleware/src/markdown_middleware.app.src
Normal file
15
examples/markdown_middleware/src/markdown_middleware.app.src
Normal file
|
@ -0,0 +1,15 @@
|
|||
%% Feel free to use, reuse and abuse the code in this file.
|
||||
|
||||
{application, markdown_middleware, [
|
||||
{description, "Cowboy static file handler example with middleware component."},
|
||||
{vsn, "1"},
|
||||
{modules, []},
|
||||
{registered, []},
|
||||
{applications, [
|
||||
kernel,
|
||||
stdlib,
|
||||
cowboy
|
||||
]},
|
||||
{mod, {markdown_middleware_app, []}},
|
||||
{env, []}
|
||||
]}.
|
Loading…
Add table
Add a link
Reference in a new issue