Skip to content

Commit

Permalink
fix(pipelines-base-url): use the package name in CDN URL
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulHax committed Apr 22, 2023
1 parent 8eabe30 commit 1637e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bindgen/typescript-resources/pipelines-base-url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { getPipelinesBaseUrl as itkWasmGetPipelinesBaseUrl } from 'itk-wasm'
import packageJson from '../package.json'

let pipelinesBaseUrl: string | URL | undefined
let defaultPipelinesBaseUrl: string | URL = `https://cdn.jsdelivr.net/npm/@itk-wasm/compress-stringify@${packageJson.version}/dist/pipelines`
let defaultPipelinesBaseUrl: string | URL = `https://cdn.jsdelivr.net/npm/<bindgenPackageName>@${packageJson.version}/dist/pipelines`

export function setPipelinesBaseUrl (baseUrl: string | URL): void {
pipelinesBaseUrl = baseUrl
Expand Down

0 comments on commit 1637e25

Please sign in to comment.