Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
fix(schema): routeRules config (#8252)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Oct 17, 2022
1 parent 7ebd155 commit e44404f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/schema/src/config/nitro.ts
Expand Up @@ -11,7 +11,7 @@ export default defineUntypedSchema({
* @version 3
*/
nitro: {
routes: {
routeRules: {
$resolve: async (val, get) => ({
...await get('routeRules') || {},
...val || {}
Expand All @@ -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: {},
Expand Down

0 comments on commit e44404f

Please sign in to comment.