Compare commits

...

2 Commits

Author SHA1 Message Date
268351f31e Cleanup 2024-10-13 23:30:48 +02:00
43efe20d8c Update hotkey script 2024-10-13 23:30:34 +02:00
2 changed files with 2 additions and 1 deletions

View File

@@ -30,6 +30,7 @@ func Download(url string) error {
_, ongoing := ongoingDownloads[url]
if ongoing {
// return fmt.Errorf("Download %s is already ongoing", url)
Warning.Printf("Download %s is already ongoing", url)
return nil
}
ongoingDownloadsMutex.Lock()

View File

@@ -22,7 +22,7 @@ if (!(titleNode && titleNode.matches(selector))) {
link = window.location.origin + link;
}
console.log(link);
fetch("http://localhost:5000/download", {
fetch("https://nsq.site.quack-lab.dev/pub?topic=ytdqueue", {
method: "POST",
headers: {
"Content-Type": "application/json",