mirror of
https://github.com/9001/copyparty.git
synced 2025-10-05 10:49:30 +02:00
shared password for providers
This commit is contained in:
parent
26c9fd5dea
commit
b9f89ca552
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue