Clean up.
This commit is contained in:
parent
b194fd5c99
commit
9a30d2d022
|
@ -46,11 +46,7 @@ start(_Host, _Opts) ->
|
||||||
stop(_Host) ->
|
stop(_Host) ->
|
||||||
ok.
|
ok.
|
||||||
|
|
||||||
process([], #request{method = 'POST',
|
process([], #request{method = 'POST', data = Data, host = Host, ip = ClientIp}) ->
|
||||||
data = Data,
|
|
||||||
host = Host,
|
|
||||||
ip = ClientIp
|
|
||||||
}) ->
|
|
||||||
try
|
try
|
||||||
{ClientAddress, _PortNumber} = ClientIp,
|
{ClientAddress, _PortNumber} = ClientIp,
|
||||||
check_member_option(Host, ClientAddress, allowed_ips),
|
check_member_option(Host, ClientAddress, allowed_ips),
|
||||||
|
|
Loading…
Reference in New Issue