Data files go in data folder

This commit is contained in:
2026-03-16 09:32:00 -05:00
parent 671e3cacf4
commit 8b5f6f173b
7 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ let activeDownloadUrl = null;
const PROCESS_FORM_STATE_KEY = 'bugmedley.process.formState.v1';
function loadProducts() {
fetch('products.json')
fetch('data/products.json')
.then(response => response.json())
.then(data => {
const productSelect = document.getElementById('productSelect');
@@ -25,7 +25,7 @@ function loadProducts() {
})
.catch(error => {
console.error('Error loading products:', error);
setParseStatus('Could not load products.json', true);
setParseStatus('Could not load data/products.json', true);
});
}