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

fix(schema): routeRules config #8252

Merged
merged 1 commit into from Oct 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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