diff --git a/index.html b/index.html
index 9c5efc89..a71f97a3 100644
--- a/index.html
+++ b/index.html
@@ -129,6 +129,8 @@
Fed Data Collection
});
};
+ const dataDir = 'data/';
+
// Load JSON files and create charts
const files = [
{ name: 'm1.json', label: 'Money Supply - M1' },
@@ -140,7 +142,7 @@ Fed Data Collection
];
const loadAndCreateChart = async (fileObj) => {
- const response = await fetch(fileObj.name);
+ const response = await fetch(dataDir + fileObj.name);
const data = await response.json();
const chartId = fileObj.name.replace('.json', 'Chart');