feat(gtm-architect): Integrate GTM Architect app with Python backend, DB persistence, and Docker stack
This commit is contained in:
@@ -10,7 +10,7 @@ const PORT = 3001;
|
||||
|
||||
// Middleware
|
||||
app.use(cors());
|
||||
app.use(bodyParser.json());
|
||||
app.use(bodyParser.json({ limit: '50mb' }));
|
||||
|
||||
// Helper für Python-Aufrufe, um Code-Duplizierung zu vermeiden
|
||||
const runPython = (args, res, tempFilesToDelete = []) => {
|
||||
@@ -245,6 +245,11 @@ app.post('/api/save-project', (req, res) => {
|
||||
}
|
||||
});
|
||||
|
||||
app.listen(PORT, () => {
|
||||
console.log(`Node.js API Bridge running on http://localhost:${PORT}`);
|
||||
});
|
||||
const server = app.listen(PORT, () => {
|
||||
console.log(`Node.js API Bridge running on http://localhost:${PORT} (Version: 1.1.0-Fix)`);
|
||||
});
|
||||
|
||||
// Set timeout to 10 minutes (600s) to handle long AI generation steps
|
||||
server.setTimeout(600000);
|
||||
server.keepAliveTimeout = 610000;
|
||||
server.headersTimeout = 620000;
|
||||
Reference in New Issue
Block a user