api: use request-ip

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-03-31 22:19:00 +02:00
parent 4433b9f090
commit b04b9d16c6
5 changed files with 11 additions and 18 deletions

View File

@@ -121,7 +121,7 @@ export async function postEvent(
country: event?.country || geo.country || '',
city: event?.city || geo.city || '',
region: event?.region || geo.region || '',
continent: event?.continent ?? '',
continent: event?.continent || geo.continent || '',
os: event?.os ?? '',
osVersion: event?.osVersion ?? '',
browser: event?.browser ?? '',