Skip to content

Commit

Permalink
Fix micro readme example (#4827)
Browse files Browse the repository at this point in the history
I found mistake on readme
  • Loading branch information
terrierscript authored and timneutkens committed Jul 24, 2018
1 parent 75476a9 commit 6bd24fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ const micro = require('micro')

const dev = process.env.NODE_ENV !== 'production'
const app = next({ dev })
const handle = app.getRequestHandler()
const handleNextRequests = app.getRequestHandler()

app.prepare().then(() => {
const server = micro((req, res) => {
Expand Down

0 comments on commit 6bd24fd

Please sign in to comment.