-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathmix.exs
31 lines (28 loc) · 847 Bytes
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
defmodule PlugForwardedPeer.Mixfile do
use Mix.Project
def project do
[app: :plug_forwarded_peer,
version: "0.2.0",
elixir: "~> 1.0",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
description: """
Very simple plug which reads `X-Forwarded-For` or `Forwarded` header according
to rfc7239 and fill `conn.remote_ip` with the root client ip.
""",
package: [links: %{"Source"=>"http://github.com/awetzel/plug_forwarded_peer"},
contributors: ["Arnaud Wetzel"],
licenses: ["MIT"],
files: ["lib", "mix.exs", "README*", "LICENSE*"]],
deps: deps()]
end
def application do
[applications: [:plug]]
end
defp deps do
[
{:plug, "~> 1.0"},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
]
end
end