Use deno endpoint
This commit is contained in:
parent
0991cfdcdf
commit
8a847c9a3f
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue