Signed-off-by: Joe Ma <rikkaneko23@gmail.com>
This commit is contained in:
Joe Ma 2024-02-04 19:30:43 +08:00
parent 72c965787f
commit bb521d62eb
No known key found for this signature in database
GPG key ID: 7A0ECF5F5EDC587F

View file

@ -289,7 +289,7 @@ $(function () {
throw new Error(`Unable to upload paste: ${(await res1.text()) || `${res.status} ${res.statusText}`}`);
}
// Finialize the paste
const res2 = await fetch(`${ENDPOINT}/large_upload/complete/${create_result.uuid}`, {
const res2 = await fetch(`${ENDPOINT}/v2/large_upload/complete/${create_result.uuid}`, {
method: 'POST',
});
if (res2.ok) {