From 104189eb275914e34f350ce020a491d9280863a3 Mon Sep 17 00:00:00 2001 From: raiyan Date: Sat, 25 May 2024 20:19:22 +0530 Subject: [PATCH] chores() : file data.json file path fix --- index.html | 17 ----------------- js/content-loader.js | 2 +- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/index.html b/index.html index 7bb33cd..3a104a9 100644 --- a/index.html +++ b/index.html @@ -48,23 +48,6 @@

Scan to share Menu

" > -
-

ICE CREAM DELIGHTS

- -
diff --git a/js/content-loader.js b/js/content-loader.js index f01f2b7..bfbf35f 100644 --- a/js/content-loader.js +++ b/js/content-loader.js @@ -1,6 +1,6 @@ async function fetchContentData() { try { - const response = await fetch("/data.json"); // Ensure the correct path to your JSON file + const response = await fetch("../data.json"); if (!response.ok) { throw new Error("Network response was not ok"); }