Skip to content
Snippets Groups Projects

Add a GeoIP middleware

Merged Antoine Albertelli requested to merge geoip2 into master

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.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading