diff --git a/nuxt.config.js b/nuxt.config.js index fed24bad..9aea0fcc 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -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 diff --git a/package.json b/package.json index 246ef80b..5cc34a96 100644 --- a/package.json +++ b/package.json @@ -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",