shared password for providers

This commit is contained in:
ed 2021-08-08 23:05:00 +02:00
parent 26c9fd5dea
commit b9f89ca552

View file

@ -7,7 +7,7 @@
// ==/UserScript==
function main() {
var server = 'https://127.0.0.1:3923/ytm',
var server = 'https://127.0.0.1:3923/ytm?pw=wark',
interval = 60; // sec
var sent = {};
@ -15,7 +15,7 @@ function main() {
if (sent[mf_url])
return;
fetch(server + '?_=' + Date.now(), { method: "PUT", body: txt });
fetch(server + '&_=' + Date.now(), { method: "PUT", body: txt });
console.log('[yt-pdh] yeet %d bytes, %s', txt.length, desc);
sent[mf_url] = 1;
}