Hello,
I created a website which finds the user location using geolocation api, which runs perfectly fine on the localhost, but as I push the webpage on server it is not fetching the user location(geoloaction).
Can anyone please tell me an approach?
Urgent help required!
Using a geo service on your website should work just fine. The security system prevents you from hosting a geo API server yourself, but as I understand it, that doesn’t apply here.
Do you have any logs or error message indicating why the API doesn’t work? Does it return any errors, or just return no or bad data?