Added api vytal fetch to connect block
This commit is contained in:
parent
6611007288
commit
a730ba7254
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ const ConnectBlock = () => {
|
|||
const [display, setDisplay] = useState('');
|
||||
|
||||
useEffect(() => {
|
||||
fetch('http://ip-api.com/json')
|
||||
fetch('https://api.vytal.io/ip/')
|
||||
.then((response) => response.json())
|
||||
.then((data) => {
|
||||
setConnectData(data);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue