Use deno endpoint

This commit is contained in:
Daniel Flanagan 2024-05-07 00:57:09 -05:00
parent 0991cfdcdf
commit 8a847c9a3f

View file

@ -29,7 +29,7 @@ function checkMinecraftServerStatus() {
loading.style.display = "inherit"; loading.style.display = "inherit";
servers.style.display = "none"; servers.style.display = "none";
try { try {
fetch("https://api.lyte.dev/minecraft-server-status").then(res => { fetch("https://deno-deploy-private.deno.dev/minecraft-server-status").then(res => {
res.json().then(statuses => { res.json().then(statuses => {
console.log(statuses) console.log(statuses)
loading.style.display = "none"; loading.style.display = "none";