An error occurred while fetching reviewers.
Add a GeoIP middleware
- Dec 12, 2024
-
-
Antoine Albertelli authored
-
Antoine Albertelli authored3a35a8b0
-
Antoine Albertelli authored
This commit adds a GeoIP lookup functionality to our application, implemented as a middleware. This means every request gets tagged with some geographical information inferred from its IP. I decided not to use existing IP lookups packages, as they made some assumptions about storing state in sessions. This contains a new "geo" app, that might also be used later for storing other geographical-specific information.
e96d9726
-