Skip to content

Commit

Permalink
Try some Nuxt config, notably changing the nitro Node mode
Browse files Browse the repository at this point in the history
This should allow multi-core handling.
https://nitro.unjs.io/deploy/runtimes/node

It is not considered compatible with websockets.
nitrojs/nitro#2171
  • Loading branch information
david-mears-2 committed Jul 8, 2024
1 parent 4634ce0 commit a3b20c9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true }
devtools: { enabled: true },
debug: true,
features: { devLogs: true },
nitro: { preset: 'node-cluster' },
})

0 comments on commit a3b20c9

Please sign in to comment.