Skip to content
This repository was archived by the owner on Feb 1, 2021. It is now read-only.

Commit 0759000

Browse files
authored
Merge pull request #15 from valeriosillari/feature/fixing_nuxt_constructor
PR for issue #3: Nuxt is not a constructor
2 parents b236c4a + 4b6c1d5 commit 0759000

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
const {Nuxt, Builder} = require('nuxt')
21
const bodyParser = require('body-parser')
32
const session = require('express-session')
43
const app = require('express')()
4+
const { Nuxt, Builder } = require('nuxt')
55

66
// Body parser, to access req.body
77
app.use(bodyParser.json())

0 commit comments

Comments
 (0)