From ac336b3cce1be84115b1c2891d75a9914d180ab2 Mon Sep 17 00:00:00 2001 From: Will Scullin Date: Mon, 25 Jul 2022 19:41:03 -0700 Subject: [PATCH] Really relative this time --- js/components/FileModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/components/FileModal.tsx b/js/components/FileModal.tsx index f089697..d2edcd0 100644 --- a/js/components/FileModal.tsx +++ b/js/components/FileModal.tsx @@ -51,7 +51,7 @@ export const FileModal = ({ disk2, number, onClose, isOpen }: FileModalProps) => useEffect(() => { spawn(async () => { try { - const indexRequest = fetch('/json/disks/index.json'); + const indexRequest = fetch('json/disks/index.json'); const indexResponse = await indexRequest; const index = await indexResponse.json() as IndexEntry[]; setIndex(index);