From: 2weiEmu Date: Fri, 13 Mar 2026 18:23:34 +0000 (+0100) Subject: updated: we are cooking X-Git-Url: https://git.saalbach.dev/?a=commitdiff_plain;h=d30a019ec4b074054b62f556d08fab3e2986652f;p=binbsis50-sm.git updated: we are cooking --- diff --git a/public/js/index.js b/public/js/index.js index 13d2cc7..03f9b49 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -107,7 +107,7 @@ async function get_updated_status() { console.log("updating database status...") dbSongList.innerHTML = "" - fetch("http://localhost:8000/api/db_status_update", {'Accept': 'application/json', 'Content-type': 'application/json'}).then(async (response) => { + fetch("/api/db_status_update", {'Accept': 'application/json', 'Content-type': 'application/json'}).then(async (response) => { const body = await response.json() // update total song list