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);