eclipsesource / eclipsesource/tabris-js
Fix snippet: fetch.js - json file can't be fetched
Open
- 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
Assessment
This issue has not been assessed yet.