-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
config is ignored #6
Comments
which version are you using? |
@dev
|
can you try again with the latest version, I am unable to replicate this issue. |
I'm experiencing this on
Only contains: It seems as though protected function registerGeoIP()
{
$this->app['geoip'] = $this->app->share(function ($app) {
return new GeoIP(config('geoip'));
});
} Edit, my bad. When not using the Facade, you need to pass in the configuration manually. Might be worth demonstrating this in the docs for those using Laravel, but not using the Facade 😄 $geoip = new GeoIP(config('geoip')); |
after recent updates config file is ignored and everything tries to connect to ip-api
The text was updated successfully, but these errors were encountered: