let a debug logging thing in oops

This commit is contained in:
zyl 2024-06-25 16:36:50 -07:00
parent 573df3f69e
commit e081dbfe59
No known key found for this signature in database

View file

@ -6,7 +6,6 @@
const url = document.body.classList.contains("debug") const url = document.body.classList.contains("debug")
? "http://127.0.0.1:8787/api/pet" ? "http://127.0.0.1:8787/api/pet"
: "https://cf.zyllian.workers.dev/api/pet"; : "https://cf.zyllian.workers.dev/api/pet";
console.log(url);
const petCounter = document.querySelector("#pet-counter"); const petCounter = document.querySelector("#pet-counter");
const count = petCounter.querySelector(".count"); const count = petCounter.querySelector(".count");