Skip to content

Commit

Permalink
fix: append npm to jsdelivr url
Browse files Browse the repository at this point in the history
  • Loading branch information
sripwoud committed Apr 29, 2024
1 parent fde160b commit 9119124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/utils/src/snark-artifacts/config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Artifact, Proof, Version } from "../types"

const CDNS = ["https://cdn.jsdelivr.net", "https://unpkg.com"]
const CDNS = ["https://cdn.jsdelivr.net/npm", "https://unpkg.com"]
const shuffleCdns = () => CDNS.sort(() => Math.random() - 0.5)
const shuffleUrls = (proof: Proof, version: Version) =>
shuffleCdns().map((cdn) => `${cdn}/@zk-kit/${proof}-artifacts@${version}/${proof}`)
Expand Down

0 comments on commit 9119124

Please sign in to comment.