THIS TIME it should be fixed

This commit is contained in:
2023-10-19 16:50:42 -04:00
parent b97bfa9f26
commit 112e1faa3d

View File

@ -18,8 +18,7 @@ export async function onRequestGet(context: RequestContext) {
return Response.redirect( return Response.redirect(
`${unsignedURL}&Signature=${btoa( `${unsignedURL}&Signature=${btoa(
// @ts-expect-error String.fromCodePoint(...new Uint8Array(signature)),
String.fromCodePoint(...signature),
) )
.replaceAll("+", "-") .replaceAll("+", "-")
.replaceAll("/", "_") .replaceAll("/", "_")