mirror of
https://github.com/umami-software/umami.git
synced 2026-02-16 18:45:36 +01:00
Fix multiple issues: tracker multiple execution, credentials configurable, exclude-hash, and other fixes
This commit is contained in:
parent
d590c6b078
commit
46532f0778
23 changed files with 553 additions and 30 deletions
12
contributions/geolocation-continent-fix.js
Normal file
12
contributions/geolocation-continent-fix.js
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
// Fix for issue #3701: Geo-location tracking (Country) broken in v3.0
|
||||
// File: src/lib/detect.ts
|
||||
|
||||
// Remove continent code fallback (around line 106):
|
||||
/*
|
||||
// Try multiple sources for country code to ensure we get a value
|
||||
// Note: We don't use continent code as a fallback because it's not a valid ISO country code
|
||||
const country =
|
||||
result.country?.iso_code ||
|
||||
result.registered_country?.iso_code ||
|
||||
result.represented_country?.iso_code;
|
||||
*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue