Skip to content

Commit

Permalink
fix: Temporary just return the .sig file, regardless of arch
Browse files Browse the repository at this point in the history
  • Loading branch information
richiemcilroy committed May 24, 2024
1 parent 5e5ca53 commit bd3114e
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,10 @@ export async function GET(

const url = asset.browser_download_url;

console.log(release.assets);

const signatureAsset = release.assets.find(
({ name }: any) => name.includes(params.arch) && name.endsWith(".sig")
const signatureAsset = release.assets.find(({ name }: any) =>
name.endsWith(".sig")
);

if (!signatureAsset) {
return new Response(null, {
status: 204,
Expand Down

1 comment on commit bd3114e

@vercel
Copy link

@vercel vercel bot commented on bd3114e May 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.