summaryrefslogtreecommitdiff
path: root/src/catlfish_web.erl
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2015-03-31 00:35:57 +0200
committerMagnus Ahltorp <map@kth.se>2015-03-31 00:35:57 +0200
commit1462b94617b0c97b9e625d2c3a379a734ecb1dd8 (patch)
tree63508f318361150ba35bbe17c18ab3e146dd20f1 /src/catlfish_web.erl
parent63bb7bbdad8c7b21630cedaea2f2b82aa62fd59d (diff)
Diffstat (limited to 'src/catlfish_web.erl')
-rw-r--r--src/catlfish_web.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/catlfish_web.erl b/src/catlfish_web.erl
index 5ee5743..f9fe6d6 100644
--- a/src/catlfish_web.erl
+++ b/src/catlfish_web.erl
@@ -2,14 +2,14 @@
%%% See LICENSE for licensing information.
-module(catlfish_web).
--export([start/2, loop/2]).
+-export([start/3, loop/2]).
-start(Options, Module) ->
+start(Options, Module, Name) ->
lager:debug("Starting catlfish web server: ~p", [Module]),
Loop = fun (Req) ->
?MODULE:loop(Req, Module)
end,
- mochiweb_http:start([{name, Module}, {loop, Loop} | Options]).
+ mochiweb_http:start([{name, Name}, {loop, Loop} | Options]).
add_auth(Path, {Code, Headers, Data}) ->