chore: update default server port from 3000 to 4000
This commit is contained in:
+1
-1
@@ -469,7 +469,7 @@ app.get('*', (req, res) => {
|
|||||||
res.sendFile(join(DIST_PATH, 'index.html'));
|
res.sendFile(join(DIST_PATH, 'index.html'));
|
||||||
});
|
});
|
||||||
|
|
||||||
const PORT = process.env.PORT || 3000;
|
const PORT = process.env.PORT || 4000;
|
||||||
const HOST = process.env.HOST || '0.0.0.0';
|
const HOST = process.env.HOST || '0.0.0.0';
|
||||||
app.listen(Number(PORT), HOST, () => {
|
app.listen(Number(PORT), HOST, () => {
|
||||||
console.log(`Server running on http://${HOST}:${PORT}`);
|
console.log(`Server running on http://${HOST}:${PORT}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user