Use arrow functions
This commit is contained in:
parent
2f5f4169a5
commit
0886f7ac6a
|
@ -48,6 +48,6 @@ app.use(createRequestHandler({
|
||||||
autoIndex: autoIndex
|
autoIndex: autoIndex
|
||||||
}))
|
}))
|
||||||
|
|
||||||
app.listen(port, function () {
|
app.listen(port, () => {
|
||||||
console.log('Server started on port %s, Ctrl+C to quit', port)
|
console.log('Server started on port %s, Ctrl+C to quit', port)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue