Update server.js
This commit is contained in:
@@ -36,8 +36,6 @@ import logger from './backend/utils/logger.js';
|
|||||||
|
|
||||||
const dev = process.env.NODE_ENV !== 'production';
|
const dev = process.env.NODE_ENV !== 'production';
|
||||||
const hostname = 'localhost';
|
const hostname = 'localhost';
|
||||||
// Use port 3000 for the integrated application
|
|
||||||
// Original backend was on 3001, which is causing the conflict
|
|
||||||
const port = process.env.PORT || 3000;
|
const port = process.env.PORT || 3000;
|
||||||
|
|
||||||
// Initialize Next.js
|
// Initialize Next.js
|
||||||
|
|||||||
Reference in New Issue
Block a user