THIS TIME it should be fixed

This commit is contained in:
regalijan 2023-10-19 16:50:42 -04:00
parent b97bfa9f26
commit 112e1faa3d
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

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