Commit 05782ec8 authored by Tom's avatar Tom

Fix whitespaces

parent ba8f4ae0
......@@ -13,7 +13,7 @@
execute(Req, Env) ->
R1 = cowboy_req:set_resp_header(<<"access-control-allow-origin">>,
<<"*">>, Req),
case cowboy_req:method(R1) of
case cowboy_req:method(R1) of
{<<"OPTIONS">>, R2} ->
R3 = cowboy_req:set_resp_header(<<"access-control-allow-methods">>,
<<"GET">>, R2),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment