Skip to content

Commit 60c8665

Browse files
Update part4a.md
new index.js use app.listen instead of server.list after the imports
1 parent 3e823bf commit 60c8665

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/4/es/part4a.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const app = require('./app') // la aplicación Express real
8383
const config = require('./utils/config')
8484
const logger = require('./utils/logger')
8585

86-
server.listen(config.PORT, () => {
86+
app.listen(config.PORT, () => {
8787
logger.info(`Server running on port ${config.PORT}`)
8888
})
8989
```

0 commit comments

Comments
 (0)