Page MenuHomePhorge

mix.exs
No OneTemporary

Size
567 B
Referenced Files
None
Subscribers
None
defmodule RemoteIp.Mixfile do
use Mix.Project
def project do
[app: :remote_ip,
version: "0.1.0",
elixir: "~> 1.3",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
description: description,
deps: deps]
end
def application do
[applications: [:plug]]
end
defp description do
"""
A plug to overwrite the Conn's remote_ip based on headers such as
X-Forwarded-For.
"""
end
defp deps do
[{:combine, "~> 0.9.2"},
{:plug, "~> 1.0"},
{:inet_cidr, "~> 1.0"}]
end
end

File Metadata

Mime Type
text/x-ruby
Expires
Fri, Nov 22, 10:26 PM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38757
Default Alt Text
mix.exs (567 B)

Event Timeline