Added api vytal fetch to connect block

This commit is contained in:
z0ccc 2021-07-27 18:13:43 -04:00
parent 6611007288
commit a730ba7254

View file

@ -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);