Skip to content

Commit

Permalink
Merge pull request #2 from faceit/inets-stand_alone
Browse files Browse the repository at this point in the history
Run inets in stand_alone mode
  • Loading branch information
GalaxyGorilla authored Aug 8, 2018
2 parents 9eb0481 + ac2f1a8 commit 5c37df5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/exometer_prometheus_httpd.erl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ start(Opts) ->
{server_name, "prometheus"},
{document_root, code:priv_dir(exometer_prometheus)},
{server_root, code:priv_dir(exometer_prometheus)}
], inets).
], stand_alone).

do(Req) ->
Method = Req#mod.method,
Expand All @@ -37,4 +37,4 @@ do(Req) ->
RespHeaders = [{code, 404}, {content_length, ContentLength}],
{break, [{response, {response, RespHeaders, [Payload]}}]}
end.

0 comments on commit 5c37df5

Please sign in to comment.