mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
back to localhost
This commit is contained in:
@@ -33,6 +33,6 @@ app.post('/todos', (req, res) => {
|
||||
store.todos = req.body;
|
||||
});
|
||||
|
||||
app.listen(3000, () => {
|
||||
app.listen(process.env.NODE_ENV === 'production' ? undefined : 3000, () => {
|
||||
console.log('Listening at http://localhost:3000');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user