Skip to content

When using app.config['TRACK_USAGE_USE_FREEGEOIP'] = True on localhost cannot write to mongoldb #61

@cityjumper

Description

@cityjumper

I believe when writting to MongoDB one cannot have empty strings but the default values of localhost bring something like:

{
"businessName" : "",
"businessWebsite" : "",
"city" : "",
"continent" : "",
"country" : "",
"countryCode" : "",
"ipName" : "",
"ipType" : "Residential",
"isp" : "",
"lat" : "",
"lon" : "",
"org" : "",
"query" : "127.0.0.1",
"region" : "",
"status" : "success"
}

Causing issues when testing the capabilities.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions