AgrI-Mitra / bff

0 stars 3 forks source link

[geoip] Make the whitelist configurable #18

Open techsavvyash opened 8 months ago

techsavvyash commented 8 months ago

Describe the bug

https://github.com/AgrI-Mitra/bff/pull/17 added the capability to block or allow requests based on geoip locations but presently this has been hardcoded to India only.

Expected behavior

The whitelist and blacklist should be easily configurable based on all the parameters returned by the samagra geoip service hosted at https://geoip.samagra.io

Additional context

PR #17