remove nuxt-express-module and use serverMiddleware directly

This commit is contained in:
lesion 2021-10-29 13:04:11 +02:00
parent fad110c432
commit 5ec01cc3f2
No known key found for this signature in database
GPG key ID: 352918250B012177
2 changed files with 3 additions and 3 deletions

View file

@ -56,10 +56,11 @@ module.exports = {
// Doc: https://axios.nuxtjs.org/usage
'@nuxtjs/axios',
'@nuxtjs/auth',
['nuxt-express-module', { expressPath: 'server/', routesPath: 'server/routes' }],
'@/server/initialize.server.js'
],
serverMiddleware: ['server/routes'],
/*
** Axios module configuration
* See https://github.com/nuxt-community/axios-module#options

View file

@ -50,8 +50,7 @@
"microformat-node": "^2.0.1",
"mkdirp": "^1.0.4",
"multer": "^1.4.3",
"nuxt-edge": "^2.16.0-27253456.4a986da8",
"nuxt-express-module": "^0.0.11",
"nuxt-edge": "^2.16.0-27256336.293dc11a",
"pg": "^8.6.0",
"sequelize": "^6.8.0",
"sequelize-slugify": "^1.6.0",