diff --git a/.DS_Store b/.DS_Store index bb234ff..8b81397 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/public/assets/js/home.js b/public/assets/js/home.js deleted file mode 100644 index fe07336..0000000 --- a/public/assets/js/home.js +++ /dev/null @@ -1,14 +0,0 @@ -function toggleFolder(folderId, buttonId) { - const folder = document.getElementById(folderId); - const button = document.getElementById(buttonId); - if (!folder || !button) return; - - if (folder.style.display === "none" || folder.style.display === "") { - folder.style.display = "block"; - button.innerHTML = button.innerHTML.replace("↓", "↑"); - - } else { - folder.style.display = "none"; - button.innerHTML = button.innerHTML.replace("↑", "↓"); - } -} diff --git a/public/index.html b/public/index.html index 383c52e..b042be1 100644 --- a/public/index.html +++ b/public/index.html @@ -19,8 +19,6 @@ - - @@ -29,10 +27,10 @@ -
-

Welcome to BTCforPlebs

-

A place to help ordinary people learn about Bitcoin

- Profile Picture +
+

Welcome to BTCforPlebs

+

A place to help ordinary people learn about Bitcoin

+ Profile Picture Learn About Bitcoin @@ -41,62 +39,41 @@ Bitcoin & The Bible - + - + - + - BTCforPlebs Live -

+ BTCforPlebs Live +

- 🟢 = online | 🔴 = offline | ⚪️ = external site -

-
+ 🟢 = online | 🔴 = offline | ⚪️ = external site +

+
+ + diff --git a/server.js b/server.js index 277b917..28bd4f1 100644 --- a/server.js +++ b/server.js @@ -46,9 +46,15 @@ app.get('/api/link-status', async (req, res) => { } }); -// Serve static files -app.use(express.static(path.join(__dirname, 'public'))); +// ... previous middleware ... + +// Serve static files from /public, including dot‑folders such as .well-known +app.use( + express.static(path.join(__dirname, 'public'), { dotfiles: 'allow' }) +); + +// Start the server app.listen(PORT, () => { console.log(`🚀 Server running at http://0.0.0.0:${PORT}`); });