gatsby-core-theme 21.0.0 → 21.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## [21.0.2](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v21.0.1...v21.0.2) (2023-04-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* geo targeting ([bde196b](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/bde196b7756bddd27e48ba9c6701f83237333440))
|
|
7
|
+
* geo targeting ([09ded7c](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/09ded7c58199b335c183807910319c66ef25db12))
|
|
8
|
+
|
|
9
|
+
## [21.0.1](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v21.0.0...v21.0.1) (2023-04-24)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* added comment ([6f2ec70](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/6f2ec70b525f244f0db45fc1cda9b178c34766ac))
|
|
15
|
+
|
|
1
16
|
# [21.0.0](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v20.0.15...v21.0.0) (2023-04-24)
|
|
2
17
|
|
|
3
18
|
|
package/gatsby-node.esm.js
CHANGED
|
@@ -323,6 +323,7 @@ exports.createPages = async ({ actions: { createPage } }, themeOptions) => {
|
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
+
// Creating Tracking links
|
|
326
327
|
if (process.env.GEO_TRACKING) {
|
|
327
328
|
const operatorsShortName = groupBy(operators, 'short_name');
|
|
328
329
|
const trackerNames = [];
|
package/package.json
CHANGED
|
@@ -53,7 +53,7 @@ export default function TrackerGeo({
|
|
|
53
53
|
.then((response) => response.json())
|
|
54
54
|
.then(async (data) => {
|
|
55
55
|
const ipAddress = data.IPv4;
|
|
56
|
-
const apiUrl = `
|
|
56
|
+
const apiUrl = `https://pro.ip-api.com/json/${ipAddress}?key=sQhiSjgnSScSHqR&fields=status,countryCode,region,city,zip,lat,lon`;
|
|
57
57
|
|
|
58
58
|
await fetch(apiUrl, {})
|
|
59
59
|
.then((response) => response.json())
|