mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
parent
75476a9136
commit
6bd24fd9e2
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue