mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 00:23:53 +00:00
fix(nuxt): use internal:nuxt
namespace
This commit is contained in:
parent
3722325220
commit
9b0d371b01
@ -275,9 +275,9 @@ export async function initNitro (nuxt: Nuxt & { _nitro?: Nitro }) {
|
||||
|
||||
// Set prerender-only options
|
||||
nitro.options._config.storage ||= {}
|
||||
nitro.options._config.storage['internal:nitro:prerender'] = { driver: 'memory' }
|
||||
nitro.options._config.storage['internal:nitro:prerender:island'] = { driver: 'lruCache', max: 1000 }
|
||||
nitro.options._config.storage['internal:nitro:prerender:payload'] = { driver: 'lruCache', max: 1000 }
|
||||
nitro.options._config.storage['internal:nuxt:prerender'] = { driver: 'memory' }
|
||||
nitro.options._config.storage['internal:nuxt:prerender:island'] = { driver: 'lruCache', max: 1000 }
|
||||
nitro.options._config.storage['internal:nuxt:prerender:payload'] = { driver: 'lruCache', max: 1000 }
|
||||
|
||||
// Expose nitro to modules and kit
|
||||
nuxt._nitro = nitro
|
||||
|
Loading…
Reference in New Issue
Block a user