From 7e8330bfd20c6bc00c0f9915eeef3d1603777557 Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Thu, 27 Mar 2025 22:27:58 +0000 Subject: [PATCH] Removed secret data (secret has now been changed) --- src/utils/geolocation.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/utils/geolocation.js b/src/utils/geolocation.js index 566e604..2d3bde0 100644 --- a/src/utils/geolocation.js +++ b/src/utils/geolocation.js @@ -1,7 +1,5 @@ -const GEOLOCATION_API_KEY = '1489c8e06deb4693bf31733a18fe2351'; - export async function getLocation(ip) { - const geoApiUrl = `https://api.ipgeolocation.io/ipgeo?apiKey=${GEOLOCATION_API_KEY}&ip=${ip}`; + const geoApiUrl = `https://api.ipgeolocation.io/ipgeo?apiKey=${GEOLOCATION_AUTH}&ip=${ip}`; const response = await fetch(geoApiUrl); const data = await response.json();