Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F112032
mix.exs
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
872 B
Referenced Files
None
Subscribers
None
mix.exs
View Options
defmodule
RemoteIp.Mixfile
do
use
Mix.Project
def
project
do
[
app
:
:remote_ip
,
version
:
"0.1.3"
,
elixir
:
"~> 1.3"
,
package
:
package
(),
description
:
description
(),
deps
:
deps
(),
docs
:
[
source_url
:
"https://github.com/ajvondrak/remote_ip"
]]
end
def
application
do
[
applications
:
[
:plug
],
included_applications
:
[
:combine
,
:inet_cidr
]]
end
defp
description
do
"A plug to overwrite the Conn's remote_ip based on headers such as "
<>
"X-Forwarded-For."
end
defp
package
do
%{
files
:
~w[lib mix.exs README.md LICENSE]
,
maintainers
:
[
"Alex Vondrak"
],
licenses
:
[
"MIT"
],
links
:
%{
"GitHub"
=>
"https://github.com/ajvondrak/remote_ip"
}}
end
defp
deps
do
[{
:combine
,
"~> 0.9.2"
},
{
:plug
,
"~> 1.2"
},
{
:inet_cidr
,
"~> 1.0"
},
{
:ex_doc
,
"~> 0.14"
,
only
:
:dev
}]
end
end
File Metadata
Details
Attached
Mime Type
text/x-ruby
Expires
Fri, Nov 22, 9:33 PM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38744
Default Alt Text
mix.exs (872 B)
Attached To
Mode
R27 remote_ip
Attached
Detach File
Event Timeline
Log In to Comment