mirror of
https://github.com/9001/copyparty.git
synced 2026-11-24 04:32:33 +00:00
shared password for providers
This commit is contained in:
1 parent
26c9fd5dea
commit
b9f89ca552
1 file changed
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user