mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 04:30:25 +00:00
Add a web server example
Explore re-routing in middleware.
This commit is contained in:
parent
e3daf439da
commit
f112cdf643
14 changed files with 223 additions and 0 deletions
3
examples/web_server/start.sh
Executable file
3
examples/web_server/start.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
erl -pa ebin deps/*/ebin -s web_server \
|
||||
-eval "io:format(\"Point your browser at http://localhost:8080/~n\")."
|
Loading…
Add table
Add a link
Reference in a new issue