Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (9 sloc) 240 Bytes
defmodule Web do
def start() do
#Server.start [port: 8000, handler: Handler.handle &1, &2]
Server.start [port: 8000, handlers: [
{ "/", StaticHandler.handle &1, &2 },
{ "/dyn", Handler.handle &1, &2 }
]]
end
end