aboutsummaryrefslogtreecommitdiffstats
path: root/examples/markdown_middleware/src/markdown_middleware.app.src
diff options
context:
space:
mode:
authorAdam Cammack <[email protected]>2013-02-09 04:04:49 -0600
committerAdam Cammack <[email protected]>2013-02-09 13:54:08 -0600
commit09f1a8d55bdd16e32de81d953ed281338db0cf89 (patch)
treed2a6696d12711a06d1d6a351822d33260dd526a7 /examples/markdown_middleware/src/markdown_middleware.app.src
parent26935cbfb021632eb8f932af43737fdbfcfad128 (diff)
downloadcowboy-09f1a8d55bdd16e32de81d953ed281338db0cf89.tar.gz
cowboy-09f1a8d55bdd16e32de81d953ed281338db0cf89.tar.bz2
cowboy-09f1a8d55bdd16e32de81d953ed281338db0cf89.zip
Add an example with custom middleware
Diffstat (limited to 'examples/markdown_middleware/src/markdown_middleware.app.src')
-rw-r--r--examples/markdown_middleware/src/markdown_middleware.app.src15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/markdown_middleware/src/markdown_middleware.app.src b/examples/markdown_middleware/src/markdown_middleware.app.src
new file mode 100644
index 0000000..d582399
--- /dev/null
+++ b/examples/markdown_middleware/src/markdown_middleware.app.src
@@ -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, []}
+]}.