Skip to content
Snippets Groups Projects
Commit f2feb670 authored by Erik Hedenström's avatar Erik Hedenström
Browse files

Added http version for hijack

parent 83fbcdfb
Branches
No related tags found
No related merge requests found
Pipeline #
{application, consul_proxy, [
{description, "Proxy for docker swarm using consul and vegur"},
{vsn, "0.5.0"},
{vsn, "0.5.1"},
{registered, []},
{mod, {consul_proxy_app, []}},
{applications, [
......
......@@ -284,6 +284,7 @@ request_to_map(Req) ->
Map = #{
<<"host">> => Req2#http_req.host,
<<"method">> => Req2#http_req.method,
<<"version">> => atom_to_binary(element(1, cowboyku_req:version(Req1)), utf8),
<<"path">> => FullPath,
<<"headers">> => maps:from_list(Req#http_req.headers),
<<"body">> => Body
......
......@@ -18,7 +18,7 @@
]}.
{relx, [
{release, {consul_proxy, "0.5.0"}, [consul_proxy]}, {sys_config, "./config/sys.config"},
{release, {consul_proxy, "0.5.1"}, [consul_proxy]}, {sys_config, "./config/sys.config"},
{vm_args, "./config/vm.args"},
{dev_mode, true},
{include_erts, false},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment