We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71334bc commit 67888a6Copy full SHA for 67888a6
packages/start-plugin-core/src/schema.ts
@@ -187,7 +187,7 @@ const tanstackStartOptionsSchema = z
187
filter: z.function().args(pageSchema).returns(z.any()).optional(),
188
failOnError: z.boolean().optional(),
189
autoStaticPathsDiscovery: z.boolean().optional(),
190
- maxRedirects: z.number().optional(),
+ maxRedirects: z.number().min(0).optional(),
191
})
192
.and(pagePrerenderOptionsSchema.optional())
193
.optional(),
0 commit comments