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("/", "_")