This commit is contained in:
Regalijan 2023-10-23 20:12:10 -04:00
parent d2b7309a6d
commit cfdbc686c7
Signed by untrusted user who does not match committer: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -23,7 +23,7 @@ export async function onRequestGet(context: RequestContext) {
Uint8Array.from(atob(context.env.URL_SIGNING_KEY), (c) => Uint8Array.from(atob(context.env.URL_SIGNING_KEY), (c) =>
c.charCodeAt(0), c.charCodeAt(0),
), ),
{ hash: "SHA=256", name: "HMAC" }, { hash: "SHA-256", name: "HMAC" },
false, false,
["sign"], ["sign"],
); );