reaja verifique se localhost
if (window.location.hostname === "localhost" || window.location.hostname === "127.0.0.1" || window.location.hostname === "") {
alert("It's a local server!");
}
blue dev