mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +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