added vite config

This commit is contained in:
2025-10-25 12:44:18 +02:00
parent 3856f93484
commit 8e782a5290
21 changed files with 1965 additions and 21900 deletions

View File

@@ -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