diff --git a/server/index.js b/server/index.js index a56ddce..691d1c4 100644 --- a/server/index.js +++ b/server/index.js @@ -364,13 +364,11 @@ app.post('/api/test-webhook', async (req, res) => { } }); -// Serve React app in production -if (process.env.NODE_ENV === 'production') { - app.use(express.static(path.join(__dirname, '../client/build'))); - app.get('*', (req, res) => { - res.sendFile(path.join(__dirname, '../client/build/index.html')); - }); -} +// Serve React app +app.use(express.static(path.join(__dirname, '../client/build'))); +app.get('*', (req, res) => { + res.sendFile(path.join(__dirname, '../client/build/index.html')); +}); // Start server app.listen(PORT, () => {