Skip to content

Commit 8539f8e

Browse files
authored
Update Express.md
1 parent 2091047 commit 8539f8e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Express.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
Create a folder named `www` in the project's root directory and place static e.g `.html` pages there.
66

7-
Launch your web server `node server.js`
8-
97
Create a file called `server.js` and add the following code.
108

119
```javascript
@@ -17,3 +15,6 @@ app.use(express.static(__dirname + '/www'));
1715
app.listen('3000');
1816
console.log('working on 3000');
1917
```
18+
19+
Launch your web server `node server.js`
20+

0 commit comments

Comments
 (0)