diff --git a/js/readme-loader.js b/js/readme-loader.js index 151cc2d..8886e8c 100644 --- a/js/readme-loader.js +++ b/js/readme-loader.js @@ -1,13 +1,13 @@ -// Fetch and render README.md +// Fetch and render FAQ.md (async function loadReadme(){ try { - const response = await fetch('/README.md', {cache: 'no-cache'}); - if(!response.ok) throw new Error('README not found'); + const response = await fetch('/FAQ.md', {cache: 'no-cache'}); + if(!response.ok) throw new Error('FAQ not found'); const markdown = await response.text(); const html = marked.parse(markdown); document.getElementById('readme-content').innerHTML = html; } catch(err) { - console.error('Error loading README:', err); + console.error('Error loading FAQ:', err); document.getElementById('readme-content').innerHTML = '

Documentation unavailable.

'; } })();