Really relative this time

This commit is contained in:
Will Scullin 2022-07-25 19:41:03 -07:00
parent 52af193caa
commit ac336b3cce
No known key found for this signature in database
GPG Key ID: 26DCD1042C6638CD
1 changed files with 1 additions and 1 deletions

View File

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