Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const { Nuxt } = require('nuxt-start');
const config = require('./nuxt.config.js');
const nuxt = new Nuxt({ ...config, dev: false });
module.exports = (req, res) =>
nuxt.ready().then(() => nuxt.server.app(req, res));
const { Nuxt } = require('nuxt-start')
const config = require('./nuxt.config.js')
const nuxt = new Nuxt({ ...config, dev: false })
module.exports = (req, res) =>
nuxt.ready().then(() => nuxt.server.app(req, res))