Skip to content

Commit

Permalink
Fix param names
Browse files Browse the repository at this point in the history
  • Loading branch information
gjlacerda committed Feb 25, 2019
1 parent ac2f960 commit e3b4d1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ app.set('port', process.env.PORT || 8080)

app.use('/', express.static(path.resolve('dist')));

app.get('/*', (req, res) => res.sendFile(path.resolve('dist/index.html')))
app.get('/*', (request, response) => response.sendFile(path.resolve('dist/index.html')))

app.listen(app.get('port'), () => {
console.log(`App listening on port ${app.get('port')}`)
Expand Down

0 comments on commit e3b4d1e

Please sign in to comment.