From 645424d6260208e55f2e87b6f3ce63bcb09873e6 Mon Sep 17 00:00:00 2001 From: TheCrazyInsanity Date: Sat, 24 Jan 2026 19:51:50 -0500 Subject: [PATCH] patch so it works in any path --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 980e953..344742b 100644 --- a/index.html +++ b/index.html @@ -581,8 +581,8 @@ async function init() { try { const [recipesRes, extractablesRes] = await Promise.all([ - fetch('recipes.json'), - fetch('extractables.json') + fetch(`${window.location.pathname}/recipes.json`), + fetch(`${window.location.pathname}/extractables.json`) ]); recipes = await recipesRes.json(); const extractables = await extractablesRes.json();