From 106b166e043f577a02f7360fb85cc787ee407eff Mon Sep 17 00:00:00 2001 From: William Moore Date: Fri, 10 Mar 2023 17:04:35 +0000 Subject: [PATCH] Use absolute URL for default zarr_samples.csv --- src/App.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/App.jsx b/src/App.jsx index 64f300f..d6d56d5 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -5,6 +5,8 @@ import Papa from "papaparse"; import CatelogTable from "./CatelogTable"; +const zarr_samples_csv = "https://raw.githubusercontent.com/ome/ome-zarr-catalog/main/public/zarr_samples.csv"; + const supportedColumns = [ "Version", "Axes", @@ -40,7 +42,7 @@ export default function App() { new URL(csvUrl); } catch (error) { // If no valid URL provided, use default - csvUrl = "/zarr_samples.csv"; + csvUrl = zarr_samples_csv; }