Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Did I really use the wrong algorithm?
  • Loading branch information
Regalijan authored and Regalijan committed Oct 24, 2023
1 parent 320d33c commit 3d93824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/api/me/items/[type]/[id].ts
Expand Up @@ -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"],
);
Expand Down

0 comments on commit 3d93824

Please sign in to comment.