From de2669d065cfcfd0e2e4d2efdf0d6d6afc088c4f Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Fri, 20 Oct 2023 09:57:00 -0400 Subject: [PATCH] BUG: Fix sample data URL The Pinata pin was unintentionally dropped. --- app/src/conversion-load-sample-inputs.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/conversion-load-sample-inputs.ts b/app/src/conversion-load-sample-inputs.ts index 2fbcc9c..b3306ad 100644 --- a/app/src/conversion-load-sample-inputs.ts +++ b/app/src/conversion-load-sample-inputs.ts @@ -5,7 +5,7 @@ export default async function conversionLoadSampleInputs (model) { const inputVolumeDescription = document.getElementById("input-volume-description") - const url = import.meta.env.DEV ? '/sample-data/AIMIOTestImage.AIM' : 'https://itk.mypinata.cloud/ipfs/QmPaZBXqb99fsKQi28tCuGpW1LgiVrBYKRimY28nA9mYgE' + const url = import.meta.env.DEV ? '/sample-data/AIMIOTestImage.AIM' : 'https://data.kitware.com/api/v1/file/653283f75be10c8fb6ed4efc/download' const response = await fetch(url) const contentLength = parseInt(response.headers.get('Content-Length')) inputVolumeDescription.innerHTML = `Sample AIM volume size: ` @@ -43,4 +43,4 @@ export default async function conversionLoadSampleInputs (model) { progressBar.value = 0 return model -} \ No newline at end of file +}