diff options
| author | Ben Busby <contact@benbusby.com> | 2024-01-09 09:55:55 -0700 |
|---|---|---|
| committer | Ben Busby <contact@benbusby.com> | 2024-01-09 09:55:55 -0700 |
| commit | 60c318b5a37b5933fc2b5d39ea07f5a06c404a30 (patch) | |
| tree | bf0beb30db85ff5a881c2240aeb26cd90f909f1a /mix.exs | |
| parent | 3499caf4871fcb4acf6ee320413ca0aaf48671d1 (diff) | |
| download | farside-60c318b5a37b5933fc2b5d39ea07f5a06c404a30.tar.gz | |
Extract remote ip from `X-Forwarded-For`
The remote IP returned in plug.conn is meant to be overwritten by the
developer, and doesn't reflect the origin of the request based on
headers. A new dependency has been added to make this change quicker to
roll out.
Diffstat (limited to 'mix.exs')
| -rw-r--r-- | mix.exs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -42,6 +42,7 @@ defmodule Farside.MixProject do {:plug_attack, "~> 0.4.2"}, {:plug_cowboy, "~> 2.0"}, {:quantum, "~> 3.0"}, + {:remote_ip, "~> 1.1"}, {:cubdb, "~> 2.0.1"}, {:bakeware, "~> 0.2.4"} ] |
