reaja condicional se localhost
if (location.hostname === "localhost" || location.hostname === "127.0.0.1")
alert("It's a local server!");
Misty Macaw
if (location.hostname === "localhost" || location.hostname === "127.0.0.1")
alert("It's a local server!");