From 112e1faa3d004b33daca89da34ed821c4399ebc9 Mon Sep 17 00:00:00 2001 From: regalijan Date: Thu, 19 Oct 2023 16:50:42 -0400 Subject: [PATCH] THIS TIME it should be fixed --- functions/api/uploads/[[id]].ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/functions/api/uploads/[[id]].ts b/functions/api/uploads/[[id]].ts index c909418..65adf1b 100644 --- a/functions/api/uploads/[[id]].ts +++ b/functions/api/uploads/[[id]].ts @@ -18,8 +18,7 @@ export async function onRequestGet(context: RequestContext) { return Response.redirect( `${unsignedURL}&Signature=${btoa( - // @ts-expect-error - String.fromCodePoint(...signature), + String.fromCodePoint(...new Uint8Array(signature)), ) .replaceAll("+", "-") .replaceAll("/", "_")