Loïc Hoguin 352cfce663 Fix markdown_middleware example 8 лет назад
..
priv 09f1a8d55b Add an example with custom middleware 12 лет назад
src 352cfce663 Fix markdown_middleware example 8 лет назад
Makefile ec82e3548b Simplify specifying the Cowboy version in examples 9 лет назад
README.asciidoc 394b4f0bf7 Simplify example instructions and fix broken examples 9 лет назад
relx.config 36ba174224 Convert the markdown_middleware example to a release 11 лет назад

README.asciidoc

= Middleware example

To try this example, you need GNU `make` and `git` in your PATH.

To build and run the example, use the following command:

[source,bash]
$ make run

Then point your browser to http://localhost:8080/video.html

Cowboy will serve all the files you put in the `priv` directory.
If you request a `.html` file that has a corresponding `.md` file
that has been modified more recently than the `.html` file, the
Markdown file will be converted to HTML and served by Cowboy.