Skip to content

Commit 663a2db

Browse files
committed
Add reactjs#31 manually
1 parent 8fff8aa commit 663a2db

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lessons/11-productionish-server/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@ Now when we run `npm start` it will check if our `NODE_ENV` is
3131
production. If it is, we run `npm run start:prod`, if it's not, we run
3232
`npm run start:dev`.
3333

34-
Now we're ready to create a production server with Express. Here's a
34+
Now we're ready to create a production server with Express and add a new file at root dir. Here's a
3535
first attempt:
3636

3737
```js
38+
// server.js
3839
var express = require('express')
3940
var path = require('path')
4041
var compression = require('compression')

0 commit comments

Comments
 (0)