port change
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ app.use('/*', serveStatic({ root: './public' }));
|
|||||||
// Fallback to index.html for SPA routing
|
// Fallback to index.html for SPA routing
|
||||||
app.get('*', serveStatic({ path: './public/index.html' }));
|
app.get('*', serveStatic({ path: './public/index.html' }));
|
||||||
|
|
||||||
const port = parseInt(process.env.PORT || '3000');
|
const port = parseInt(process.env.PORT || '3050');
|
||||||
|
|
||||||
console.log(`🚀 Server running on http://localhost:${port}`);
|
console.log(`🚀 Server running on http://localhost:${port}`);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user