eclipsesource / eclipsesource/tabris-js

Fix snippet: fetch.js - json file can't be fetched

Open
#1,710 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.4k
Forks
171
PR merge metrics
No merged PRs in 30d

Description

### URL no longer returns a json file,

- maybe change fetch to a valid JSON file.

- https://freegeoip.net/json/ now returns:
```
"4": "# This API endpoint is deprecated and has now been shut down.
```

* Ref:
- https://github.com/eclipsesource/tabris-js/blob/master/snippets/fetch.js

```js
function loadData() {
fetch('https://freegeoip.net/json/')
```
Thanks,
Rob

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.