mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +00:00
fix(schema): routeRules config (#8252)
This commit is contained in:
parent
7ebd1558ee
commit
e44404f8e3
@ -11,7 +11,7 @@ export default defineUntypedSchema({
|
||||
* @version 3
|
||||
*/
|
||||
nitro: {
|
||||
routes: {
|
||||
routeRules: {
|
||||
$resolve: async (val, get) => ({
|
||||
...await get('routeRules') || {},
|
||||
...val || {}
|
||||
@ -26,7 +26,7 @@ export default defineUntypedSchema({
|
||||
*
|
||||
* @see https://nitro.unjs.io/config/#routes
|
||||
*
|
||||
* @type {typeof import('nitropack')['NitroConfig']['routes']}
|
||||
* @type {typeof import('nitropack')['NitroConfig']['routeRules']}
|
||||
* @version 3
|
||||
*/
|
||||
routeRules: {},
|
||||
|
Loading…
Reference in New Issue
Block a user