This commit is contained in:
@@ -74,7 +74,7 @@ app.get('/api/health', (req, res) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Serve static frontend files (for production)
|
// Serve static frontend files (for production)
|
||||||
const frontendPath = path.join(__dirname, '../../frontend/dist');
|
const frontendPath = path.join(__dirname, '../frontend/dist');
|
||||||
const frontendExists = fs.existsSync(frontendPath);
|
const frontendExists = fs.existsSync(frontendPath);
|
||||||
|
|
||||||
if (frontendExists) {
|
if (frontendExists) {
|
||||||
|
|||||||
Reference in New Issue
Block a user