1
0
forked from Kieran/route96

Bigger file takes longer

This will prevent premature expiration during a bigger size/slower connection uploads
This commit is contained in:
aidik 2024-09-18 22:05:50 +00:00
parent 6b1ea7f555
commit 55c59a3569

View File

@ -151,7 +151,7 @@ async function uploadBlossom(file) {
["u", `${window.location.protocol}//${subdomain}${window.location.host}/upload`],
["x", buf2hex(hash)],
["method", "PUT"],
["expiration", (now + 60).toString()]
["expiration", (now + 600).toString()]
]
}