Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lathoub authored Oct 15, 2024
1 parent 58fdc49 commit 16f9aeb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions previousSteps/step2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Code:
```
const express = require('express')
const app = express()
const port = 80
const port = 8080
app.get('/', (req, res) => res.send('Hello World, step 2!'))
Expand All @@ -44,13 +44,13 @@ Starten doe je op dezelfde maniet als in `step 1` , Driehoek met bug, dan groene

Op je scherm:
```
Example app listening at http://localhost:80
Example app listening at http://localhost:8080
```

Voor de geeks: [hoe werken callbacks](https://www.freecodecamp.org/news/nodejs-callbacks/)

## Testen in een browser:
http://localhost
http://localhost:8080

> `Hello World!`
Expand Down

0 comments on commit 16f9aeb

Please sign in to comment.