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

Add a web server example

Explore re-routing in middleware.
This commit is contained in:
Adam Cammack 2013-02-16 02:21:54 -06:00
parent e3daf439da
commit f112cdf643
14 changed files with 223 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1 @@
If you read this then the static file server works!

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<body>
<h1>HTML5 Video Example</h1>
<video controls>
<source src="small.ogv" type="video/ogg"/>
<source src="small.mp4" type="video/mp4"/>
</video>
<p>Videos taken from <a href="http://techslides.com/sample-webm-ogg-and-mp4-video-files-for-html5/">TechSlides</a></p>
</body>
</html>