mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
shared password for providers
This commit is contained in:
parent
26c9fd5dea
commit
b9f89ca552
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue