Skip to content

Commit c41a90a

Browse files
committed
feat(locale): add default endpoint for geolocation
1 parent 3b53149 commit c41a90a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/utilities/src/utilities/geolocation/geolocation.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import axios from 'axios';
22

3-
const _endpoint = process.env.GEO_API;
3+
const _endpoint =
4+
process.env.GEO_API || 'https://api.www.s81c.com/webmaster/dbip/';
45
/**
56
* Utility to retrieve user's country code based on their IP address
67
*

0 commit comments

Comments
 (0)