Skip to content

Commit a1e3618

Browse files
committed
use port 3000
1 parent 4e071ce commit a1e3618

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ an article, delete an article and add comment on the article.
1616
$ npm start
1717
```
1818

19-
Then visit [http://localhost:3000/](http://localhost:4000/)
19+
Then visit [http://localhost:3000/](http://localhost:3000/)
2020

2121
## Directory structure
2222
```

server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ require('./settings').boot(app, config, passport) // Bootstrap applicati
3434
require('./config/routes')(app, passport, auth)
3535

3636
// Start the app by listening on <port>
37-
var port = process.env.PORT || 4000
37+
var port = process.env.PORT || 3000
3838
app.listen(port)
3939
console.log('Express app started on port '+port)

0 commit comments

Comments
 (0)