From bb521d62ebb63905c221d9a8be163412df71b308 Mon Sep 17 00:00:00 2001 From: Joe Ma Date: Sun, 4 Feb 2024 19:30:43 +0800 Subject: [PATCH] Fix typo Signed-off-by: Joe Ma --- frontend/static/paste.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/static/paste.js b/frontend/static/paste.js index d2ca1eb..5436f95 100644 --- a/frontend/static/paste.js +++ b/frontend/static/paste.js @@ -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) {