Did I really use the wrong algorithm?
This commit is contained in:
parent
320d33c5fa
commit
3d93824aef
@ -34,7 +34,7 @@ export async function onRequestGet(context: RequestContext) {
|
||||
Uint8Array.from(atob(context.env.URL_SIGNING_KEY), (c) =>
|
||||
c.charCodeAt(0),
|
||||
),
|
||||
{ hash: "SHA-256", name: "HMAC" },
|
||||
{ hash: "SHA-1", name: "HMAC" },
|
||||
false,
|
||||
["sign"],
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user