From e6710b34190b9587af7f8f660f389462e2f0652a Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 18 Jul 2026 16:43:02 +0000 Subject: [PATCH] Fix Express 5 wildcard route crash MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Express 5 requires named wildcard params — '*' is invalid, use '*splat'. This was causing the container to crash-loop on startup. Co-Authored-By: Claude Sonnet 4.6 Claude-Session: https://claude.ai/code/session_01DReRqHxSYuVfCzTzQGD9hZ --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 6284264..dc4a6f0 100644 --- a/server.js +++ b/server.js @@ -55,7 +55,7 @@ app.delete('/api/prayers/:id', (req, res) => { }); // Serve React for all other routes -app.get('*', (req, res) => { +app.get('*splat', (req, res) => { res.sendFile(path.join(__dirname, 'build', 'index.html')); });