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:
parent
6b1ea7f555
commit
55c59a3569
@ -151,7 +151,7 @@ async function uploadBlossom(file) {
|
|||||||
["u", `${window.location.protocol}//${subdomain}${window.location.host}/upload`],
|
["u", `${window.location.protocol}//${subdomain}${window.location.host}/upload`],
|
||||||
["x", buf2hex(hash)],
|
["x", buf2hex(hash)],
|
||||||
["method", "PUT"],
|
["method", "PUT"],
|
||||||
["expiration", (now + 60).toString()]
|
["expiration", (now + 600).toString()]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user