Wix blocking sites

The code below is meant to retreive the country for users, but wix blocks the returned country with the error that the originating website has “https” while the request website is “http”, when both are https. Please who has a solution to this? Even using these other two addresses gets the same response

fetch('https://extreme-ip-lookup.com/json/').then( res => res.json()).then(response => {console.log("Country: ", response.country);}).catch((data, status) => {console.log('Request failed');})

Hi! This error message is indicating that the website that is making the fetch request (likely the website hosted on Wix) has a different protocol (HTTPS) than the website that the request is being made to (https://extreme-ip-lookup.com/json/). Another solution could be to use a package or library that allows you to make cross-origin resource sharing (CORS) requests. This would allow your website hosted on Wix to make requests to a different domain (e.g. https://extreme-ip-lookup.com) even if the protocols are different.

What package or library?