]> git.example.dev Git - binbsis50-sm.git/commitdiff
updated: we are cooking
author2weiEmu <saalbach.robert@outlook.de>
Fri, 13 Mar 2026 18:23:34 +0000 (19:23 +0100)
committer2weiEmu <saalbach.robert@outlook.de>
Fri, 13 Mar 2026 18:23:34 +0000 (19:23 +0100)
public/js/index.js

index 13d2cc7098518675c462963dc0b2266b4cd3c75b..03f9b49b72ae7d1d8b2066e82c9c9e31448e90bd 100644 (file)
@@ -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