mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2025-12-01 15:05:45 +01:00
added vite config
This commit is contained in:
@@ -40,7 +40,7 @@ app.get('/api/health', (req: any, res: any) => {
|
||||
});
|
||||
|
||||
// 🆕 STATIC FILE SERVING FÜR FRONTEND
|
||||
const frontendBuildPath = path.join(__dirname, '../frontend-build');
|
||||
const frontendBuildPath = process.env.FRONTEND_BUILD_PATH || '../frontend-build';
|
||||
console.log('📁 Frontend build path:', frontendBuildPath);
|
||||
|
||||
// Überprüfe ob das Verzeichnis existiert
|
||||
|
||||
Reference in New Issue
Block a user