Skip to content

Commit 9653ef6

Browse files
authored
Update osa4b.md
The line is not in the example repo and is not referenced in the material. Also the particular file does not have import for http. In my understanding the http package is not used in favor of the express
1 parent 3e6b922 commit 9653ef6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/4/fi/osa4b.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ const app = require('./app') // varsinainen Express-sovellus
200200
const config = require('./utils/config')
201201
const logger = require('./utils/logger')
202202

203-
const server = http.createServer(app)
203+
204204

205205
app.listen(config.PORT, () => {
206206
logger.info(`Server running on port ${config.PORT}`)

0 commit comments

Comments
 (0)